cvs: pear /LiveUser_Admin/Perm Simple.php

From: Date: Sat, 12 Nov 2005 19:12:30 +0000
Subject: cvs: pear /LiveUser_Admin/Perm Simple.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-36249@lists.php.net to get a copy of this message
arnaud Sat Nov 12 14:12:30 2005 EDT Modified files: /pear/LiveUser_Admin/Perm Simple.php Log: phpdoc http://cvs.php.net/diff.php/pear/LiveUser_Admin/Perm/Simple.php?r1=1.67&r2=1.68&ty=u Index: pear/LiveUser_Admin/Perm/Simple.php diff -u pear/LiveUser_Admin/Perm/Simple.php:1.67 pear/LiveUser_Admin/Perm/Simple.php:1.68 --- pear/LiveUser_Admin/Perm/Simple.php:1.67 Sat Nov 12 11:46:47 2005 +++ pear/LiveUser_Admin/Perm/Simple.php Sat Nov 12 14:12:27 2005 @@ -57,7 +57,7 @@ * @author Bjoern Kraus <krausbn@php.net> * @copyright 2002-2005 Markus Wolff * @license http://www.gnu.org/licenses/lgpl.txt - * @version CVS: $Id: Simple.php,v 1.67 2005/11/12 16:46:47 arnaud Exp $ + * @version CVS: $Id: Simple.php,v 1.68 2005/11/12 19:12:27 arnaud Exp $ * @link http://pear.php.net/LiveUser_Admin */ @@ -464,6 +464,14 @@ /** * Grant user a right * + * <code> + * // grant user idd 13 the right NEWS_CHANGE + * $data = array( + * 'right_id' => NEWS_CHANGE, + * 'perm_user_id' => 13 + * ); + * $lua->perm->grantUserRight($data); + * </code> * * @param array $data * @return @@ -693,6 +701,7 @@ /** * Fetches rights * + * the array expected should follow the form of * * @param array $params * @return

« previous php.pear.cvs (#36249) next »