ay, April 15, 2009 5:22:14 AM UTC-5, John Andersen wrote:
>>
>> Hi all,
>>
>> Is there reserved words in CakePHP, which I can't use when naming my
>> models?
>>
>> For example "collection" and "tag".
>>
>> Enjoy,
&
On Fri, Sep 28, 2012 at 11:55 AM, Brad Giessing wrote:
> I created a function called list() in a controller and it freaked out. I
> guess it doesn't like that, either.
That's a PHP thing.
--
Like Us on FacekBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
>
> On Wednesday, April 15, 2009 5:22:14 AM UTC-5, John Andersen wrote:
> Hi all,
>
> Is there reserved words in CakePHP, which I can't use when naming my
> models?
>
> For example "collection" and "tag".
>
> Enjoy,
>John, Lat
I created a function called list() in a controller and it freaked out. I
guess it doesn't like that, either.
On Wednesday, April 15, 2009 5:22:14 AM UTC-5, John Andersen wrote:
>
> Hi all,
>
> Is there reserved words in CakePHP, which I can't use when naming my
>
If you replace Cake pages controller you _should_ use Page/Pages :)
On Apr 16, 8:52 pm, Grzegorz Pawlik wrote:
> Additionally You rather shouldn't name Your model/controller like
> Object/Objects and Page/Pages ;)
>
> On Apr 16, 12:52 pm, "Mark (Germany)"
> wrote:
>
> > yeah
> > i once proposed
Class names could be defined not to conflict with possible object
names, for example by always having class names prefixed with a T,
TAppController, TController, TObject etc.
Just a suggestion :)
John
On Apr 16, 4:52 pm, Grzegorz Pawlik wrote:
> Additionally You rather shouldn't name Your mod
Additionally You rather shouldn't name Your model/controller like
Object/Objects and Page/Pages ;)
On Apr 16, 12:52 pm, "Mark (Germany)"
wrote:
> yeah
> i once proposed to change components into
>
> $this->FileComponent->foo()
>
> etc with "Component" attached to prevent this from happening
>
>
yeah
i once proposed to change components into
$this->FileComponent->foo()
etc with "Component" attached to prevent this from happening
but they did not care about that much in the core team at that point
in time :)
PS: same with helpers (conflicts between vars from controller):
$poll (conten
Thanks Dr. Loboto,
That may be, but not in my case, as I don't use any components
together with my installations controller, and each model, loaded by
request, does not have any conflict with CakePHP or other parts, so to
sum it up, I am happy with that :)
Enjoy,
John
On Apr 16, 5:36 am, "Dr.
There can be also conflict between models and components names (not
classnames).
On Apr 16, 1:45 am, John Andersen wrote:
> Thanks Dardo and Teh, but it turned out to be a conflict between all
> my models, when I loaded them all in an installations controller :)
> Solved by loading the models on
Thanks Dardo and Teh, but it turned out to be a conflict between all
my models, when I loaded them all in an installations controller :)
Solved by loading the models only by request (ClassRegistry).
Enjoy,
John
On Apr 15, 5:14 pm, Teh Treag wrote:
> In addition to the classes -http://api.cake
In addition to the classes - http://api.cakephp.org/classes, there are
also the global constants and functions -
http://book.cakephp.org/view/120/Global-Constants-and-Functions
-teh
On Apr 15, 5:22 am, John Andersen wrote:
> Hi all,
>
> Is there reserved words in CakePHP, which I
> Is there reserved words in CakePHP, which I can't use when naming my
> models?
http://api.cakephp.org/classes
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this
Hi all,
Is there reserved words in CakePHP, which I can't use when naming my
models?
For example "collection" and "tag".
Enjoy,
John, Latvia
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Gr
14 matches
Mail list logo