But what about when it breaks and you or someone else has to fix it
and you can't remember what you did and where?

Conventions are there for a reason, frameworks are designed to help
you code efficiently but only work efficiently when you follow those
conventions.

Helpers are View Helper Classes for manipulating the Display of data
passed to them from the Controller.

All you need is something like this in your controller:
$this->set('myoptions', $this->MyModel->find('list') );
http://book.cakephp.org/view/1022/find-list

Then in your View
echo $this->Html->input('SelectboxName', array('options' =>
$myoptions) );



On Jan 21, 7:35 pm, Unflexible <[email protected]> wrote:
> 2011/1/21 AD7six <[email protected]>:
>
> > On Jan 21, 12:35 am, Unflexible <[email protected]> wrote:
> > Hideous.
>
> Sure, but it works

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to