public $group_id;
public $created;
- /* Static get */
- function staticGet($k,$v=null)
- { return Memcached_DataObject::staticGet('Group_join_queue',$k,$v); }
-
- /* Pkey get */
- function pkeyGet($k)
- { return Memcached_DataObject::pkeyGet('Group_join_queue',$k); }
-
/* the code above is auto generated do not remove the tag below */
###END_AUTOCODE
function getMember()
{
- $member = Profile::staticGet('id', $this->profile_id);
+ $member = Profile::getKV('id', $this->profile_id);
if (empty($member)) {
// TRANS: Exception thrown providing an invalid profile ID.
function getGroup()
{
- $group = User_group::staticGet('id', $this->group_id);
+ $group = User_group::getKV('id', $this->group_id);
if (empty($group)) {
// TRANS: Exception thrown providing an invalid group ID.
*
* @return Group_member object on success
*/
- function complete(User_group $group)
+ function complete()
{
$join = null;
$profile = $this->getMember();
*/
public function notify()
{
- $joiner = Profile::staticGet('id', $this->profile_id);
- $group = User_group::staticGet('id', $this->group_id);
+ $joiner = Profile::getKV('id', $this->profile_id);
+ $group = User_group::getKV('id', $this->group_id);
mail_notify_group_join_pending($group, $joiner);
}
}