Sunday 01 October 2006 11:27:03 pm
Hi Tamaki, Take a look on kernel/classes/ezrole.php class definition.
$role = eZRole::create( 'Role name' );
$role->store();
Related classes are also:
kernel/classes/ezpolicy.php kernel/classes/ezpolicylimitation.php
Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog
|