-- cvaughn001 <
[hidden email]> wrote
(on Monday, 22 October 2007, 10:59 AM -0700):
> Matthew Weier O'Phinney-3 wrote:
> > -- cvaughn001 <
[hidden email]> wrote
> > (on Monday, 22 October 2007, 10:23 AM -0700):
> > > Hey everyone. I tried searching for this answer before posting my
> > > question,
> > > and nothing came up.
> > >
> > > My question is as follows: I want to make my script views have dashes in
> > > between their names, like "page/this-page.phtml". Now, in my "page"
> > > controller, how would I format the Action to use the "-" in the phtml
> > > file?
> >
> > Use camelCasing: PageController::thisPageAction() maps to
> > page/this-page.phtml.
>
> do i still keep the "-" in the phtml file or remove it when im camel casing
> the Action?
Keep the dash in the view script, but no dash in the action. It's
exactly as I described it above.
--
Matthew Weier O'Phinney
PHP Developer |
[hidden email]
Zend - The PHP Company |
http://www.zend.com/