class MyModel extends AppModel {
    $this->name = 'MyModel';
    $this->alias = 'MyPreferredAlias';
    $this->useTable = 'my_actual_table_name';
}

On Aug 27, 11:13 pm, Xanax <[email protected]> wrote:
> Hi,
>
> I need to change the alias OR the name of a table.
>
> It's weird, i tried to change many variable whithout any changes on
> requests generated by Cakephp :
>
> var $name
> var $useTable
>
> The name of the controller (the name of the file AND the name of the
> class)
> The name of the model(the name of the file AND the name of the class)
--~--~---------~--~----~------------~-------~--~----~
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