Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Access $this->getParams() on __construct() of each actions #221

Open
louiemiranda opened this issue Aug 13, 2013 · 0 comments
Open

Access $this->getParams() on __construct() of each actions #221

louiemiranda opened this issue Aug 13, 2013 · 0 comments

Comments

@louiemiranda
Copy link

Hello,

Is it possible to retrieve $this->getParams() on __construct() of each actions?

I have read the manual:
https://frapi.github.io/developing/coding-actions.html

For debugging purposes, FRAPI allows developers to retrieve all query parameters > > using the method $this->getParams(); from within any execute*() action. This method > returns an associative array of parameter names and values — $_REQUEST.

I tried to see what _REQUEST looks like, unfortunately I was not able to retrieve the params too.

Any ideas?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant