Did u look in the api?
http://api.cakephp.org/1.2/classes.html
http://api.cakephp.org/1.2/class_aro.html
class Aro extends AclNode {
class AclNode extends AppModel {
class Model extends Overloadable {
The create method is here in the model class:
http://api.cakephp.org/1.2/model_8php-source.html#l00887
So, no. "$aro->create(1,null,'SomeText');" is not valid.
cook
On May 14, 4:49 pm, mdcatc <[EMAIL PROTECTED]> wrote:
> Has the create method changed format from the 1.1 version? In other
> words is the $aro->create(1,null,'SomeText'); still a valid format. Or
> is the creation of Aro's and Aco's changed?
>
> Also where are these classes defined for aro and aco I couldn't find
> them, will continue to search!
>
> On May 14, 2:19 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
>
> > ACL in 1.2 has changed (quite significantly). AFAIK ACL is not yet
> > functional in 1.2.
>
> >http://groups.google.com/group/cake-php/msg/b03b899ebb73b488?hl=en&
>
> > On May 14, 1:12 pm, christianandradet <[EMAIL PROTECTED]>
> > wrote:
>
> > > hi
> > > i am working with cakephp 1.2..., i'am traying to use this in
> > > application,
> > > $aro = new Aro();
> > > $aro->create(1, null, 'admin');
>
> > > but when I execute it the user is not created and no error message is
> > > displayed, but when i use the same function with cakephp 1.1 it works
>
> > > What should i do, does the way to use this changed to this version??
> > > Please help
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" 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
-~----------~----~----~----~------~----~------~--~---