cvs: pear /LiveUser_Admin/Perm Simple.php

From: Date: Sat, 12 Nov 2005 16:26:41 +0000
Subject: cvs: pear /LiveUser_Admin/Perm Simple.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-36246@lists.php.net to get a copy of this message
arnaud Sat Nov 12 11:26:41 2005 EDT Modified files: /pear/LiveUser_Admin/Perm Simple.php Log: phpdoc fixes http://cvs.php.net/diff.php/pear/LiveUser_Admin/Perm/Simple.php?r1=1.65&r2=1.66&ty=u Index: pear/LiveUser_Admin/Perm/Simple.php diff -u pear/LiveUser_Admin/Perm/Simple.php:1.65 pear/LiveUser_Admin/Perm/Simple.php:1.66 --- pear/LiveUser_Admin/Perm/Simple.php:1.65 Thu Nov 3 02:39:57 2005 +++ pear/LiveUser_Admin/Perm/Simple.php Sat Nov 12 11:26:39 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.65 2005/11/03 07:39:57 lsmith Exp $ + * @version CVS: $Id: Simple.php,v 1.66 2005/11/12 16:26:39 arnaud Exp $ * @link http://pear.php.net/LiveUser_Admin */ @@ -228,8 +228,7 @@ /** * Add right * - * - * @param array $data + * @param array $data associative array in the form of $fieldname => $data * @return * * @access public @@ -242,15 +241,16 @@ } /** - * Update right - This will update the liveuser_perm_users table - * + * Update right + * + * Use this to update a right's information * * @param array $data associative array in the form of $fieldname => $data * @param array $filters associative array in the form of $fieldname => $data * This will construct the WHERE clause of your update * Be careful, if you leave this blank no WHERE clause * will be used and all rights will be affected by the update - * @return mixed false on error, the affected rows on success + * @return int|false the affected rows on success or false on error * * @access public */ @@ -264,10 +264,9 @@ /** * Remove right * - * * @param array $filters Array containing the filters on what right(s) * should be removed - * @return + * @return false|int false on error * * @access public * @uses LiveUser_Admin_Perm_Simple::revokeUserRight

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