Re: Liveuser- updating perm_user table

From: Date: Wed, 31 Aug 2005 13:47:54 +0000
Subject: Re: Liveuser- updating perm_user table
References: 1 2 3 4 5 6  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-20696@lists.php.net to get a copy of this message
Lukas Smith wrote:
Jeroen Houben wrote:
Okay, fair enough, but at least the API documentation should reflect this IMHO.
Patches welcome .. This includes the phpdoc comments as well as the docbook stuff ..
Perhaps this is useful. I added some API docs to Simple.php updateUser() /**
    * Update user - This will update the liveuser_perm_users table
    *
    *
    * @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 users will be affected by the update
    * @return mixed false on error, the affected rows on success
    *
    * @access public
    */
function updateUser($data, $filters) {
       $result = $this->_storage->update('perm_users', $data, $filters);
       // notify observer
       return $result;
} HTH, Jeroen

« previous php.pear.general (#20696) next »