add function doc comment to User_flag_profile::create()

This commit is contained in:
Evan Prodromou 2010-01-24 11:20:08 -05:00
parent a66181c900
commit b91a035025
1 changed files with 9 additions and 0 deletions

View File

@ -130,6 +130,15 @@ class User_flag_profile extends Memcached_DataObject
return !empty($ufp);
}
/**
* Create a new flag
*
* @param integer $user_id ID of user who's flagging
* @param integer $profile_id ID of profile being flagged
*
* @return boolean success flag
*/
static function create($user_id, $profile_id)
{
$ufp = new User_flag_profile();