I don't see anything about aliases in the documentation.  Routes is
not the same as what I'm looking for.  A route would make it easy to
redirect the user, but I'm talking about the controller and model
names used within the code itself.  For example, I would like to have
the model "Warehousetorontomapleavenue" or something as descriptive,
but inside the controller I don't want to have to use $this-
>Warehousetorontomapleavenue->read().  I would like a way to use a
shorter alias in the code, but keep the long names too.

On Apr 16, 3:51 pm, AD7six <[email protected]> wrote:
> On Apr 16, 7:59 pm, Scott <[email protected]> wrote:
>
> > Some of my model and controller classes have very long, and therefore
> > descriptive, names.  The problem is that it's a real pain to use these
> > when coding, but I want the names to be as descriptive as possible
> > when reviewing the files.
>
> > It would be really nice if we could define an alias that could be used
> > instead of the full model/controller name when calling actions.
>
> Is the missing question what do routes and model aliases do?
>
> Check out the new CakePHP Questions sitehttp://cakeqs.organd help others with 
> their CakePHP related questions.
>
> You received this message because you are subscribed to the Google Groups 
> "CakePHP" 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 
> athttp://groups.google.com/group/cake-php?hl=en

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" 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/cake-php?hl=en

Reply via email to