phpGACL comes with an extensive API. Look at the functions available in the
PhpGacl component. To save a user, for example, you would do:

$this->PhpGacl->saveUser($userId, $userName);

For example if you just created a User with ID #15, then you can do:

$this->PhpGacl->saveUser(15, 'User #15');

The second parameter is just a descriptive name to use inside phpGACL Plugin
administration.

-MI

---------------------------------------------------------------------------

Remember, smart coders answer ten questions for every question they ask. 
So be smart, be cool, and share your knowledge. 

BAKE ON!

blog: http://www.MarianoIglesias.com.ar

-----Mensaje original-----
De: [email protected] [mailto:[EMAIL PROTECTED] En nombre
de Andreas
Enviado el: Domingo, 01 de Julio de 2007 07:33 a.m.
Para: Cake PHP
Asunto: Update phpGACL when a user signs up

I'm using CakePHP 1.1 with phpGACL. I've only tried out Cake for the
last days and now I've finally got an sign up form to work as
expected. But how do I update the corresponding phpGACL tables when a
new user signs up?


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