[Solar-talk] Rename "form" helper?
Paul M Jones
pmjones at ciaweb.net
Mon Jul 17 11:22:19 PDT 2006
Hi all --
A lot of my controllers use $form as a Solar_Form object that gets
assigned to the view. This leads to things like ...
echo $this->form($this->form);
... in the view scripts, which is a little confusing. Technically
you can use a different name than "form" for your variable, but
"form" seems to be a common convention and it makes sense by itself.
With that in mind, perhaps the helper ought to be renamed (maybe
"$this->quickForm(...)").
Any thoughts on this?
--
Paul M. Jones <http://paul-m-jones.com>
Solar: Simple Object Library and Application Repository
for PHP5. <http://solarphp.com>
Savant: The simple, elegant, and powerful solution for
templates in PHP. <http://phpsavant.com>
More information about the solar-talk
mailing list