Look at using the sfInflector class built into symfony. I know there is a function to camelize an underscored string as well as humanize an underscored string (i.e. convert this_is_a_string into This is a string), but I can't remember off hand what the function is to convert camelcased names into underscored names.
On Wed, Jan 20, 2010 at 7:14 PM, Darren884 <[email protected]> wrote: > When I make my actions I use camel case: > WholesalePrice > > however it won't show up as wholesale_price. What do I do to get to > view it? It simply wont show at all. > > Thanks, > Darren > > -- > You received this message because you are subscribed to the Google Groups > "symfony users" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/symfony-users?hl=en. > > > > -- Gareth McCumskey http://garethmccumskey.blogspot.com twitter: @garethmcc
-- You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en.
