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

Enum Helper #13

Closed
Ali1 opened this issue Dec 5, 2015 · 4 comments
Closed

Enum Helper #13

Ali1 opened this issue Dec 5, 2015 · 4 comments
Assignees

Comments

@Ali1
Copy link

Ali1 commented Dec 5, 2015

Would having an emum helper to pull the enum configuration into a view be useful or is there a better way of doing this?

@Ali1
Copy link
Author

Ali1 commented Dec 5, 2015

Currently using:
$LeadsTable = new App\Model\Table\LeadsTable;
echo $this->Form->input('type', ['options' => $LeadsTable->enum('type')]);

@pmoraes
Copy link

pmoraes commented Feb 25, 2016

Hello @Ali1 , could you take a look in the #16 pull request? There is the documentation showing the best way to solve your problem.

@pmoraes
Copy link

pmoraes commented Mar 22, 2016

@Ali1 any doubts yet?

@steinkel
Copy link
Member

Please reopen if more feedback required, thanks!

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

3 participants