hi dudes, ive followed the ACL manuall 1 by 1, inserted db tables
ect.... done
$aro = new Aro(); $aro->create... like the manuall BUT its not
creating users in the database!

No error, no mysql db insert on mysql debug log... nothing... but if i
do debug($aro)... it shows the hole class with vars ect.... i am on
1.2 AGAIN ive followed the manuall 1 by 1!


1       DESCRIBE `aros`         7       7       0
2       DESCRIBE `acos`         7       7       0
3       DESCRIBE `aros_acos`

My code:

$aro = new Aro();

                // First, set up a few AROs.
                // These objects will have no parent initially.

                $aro->create( 1, null, 'Bob Marley' );
                $aro->create( 2, null, 'Jimi Hendrix');
                $aro->create( 3, null, 'George Washington');
                $aro->create( 4, null, 'Abraham Lincoln');

                // Now, we can make groups to organize these users:
                // Notice that the IDs for these objects are 0, because
                //     they will never tie to users in our system

                $aro->create(0, null, 'Presidents');
                $aro->create(0, null, 'Artists');

                //Now, hook AROs to their respective groups:

                #$aro->setParent('Presidents', 'George Washington');
                #$aro->setParent('Presidents', 'Abraham Lincoln');
                #$aro->setParent('Artists', 'Jimi Hendrix');
                #$aro->setParent('Artists', 'Bob Marley');


                // Creating an ACO is done in a similar manner:
                $aco = new Aco();

                //Create some access control objects:
                $aco->create(1, null, 'Electric Guitar');
                $aco->create(2, null, 'United States Army');
                $aco->create(3, null, 'Fans');

like the cake manual....

It seems that cake isnt inserting the stuff in the database.


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to