Location: PHPKode > projects > Anahita Social Engine > dependencies/plg_system_socialengine/socialengine/model/actor/repository.php
<?php
/**
 * @version		1.0.0
 * @category	Anahita Social Engine™
 * @copyright	Copyright (C) 2008 - 2010 rmdStudio Inc. and Peerglobe Technology Inc. All rights reserved.
 * @license		GNU GPLv2 <http://www.gnu.org/licenses/old-licenses/gpl-2.0.html>
 * @link     	http://www.anahitapolis.com
 */

class AnModelActorRepository extends AnModelNodeRepository
{	
	public function __construct($options)
	{
		parent::__construct($options);
		
//		$this->registerFunctionAfter('update','__hookSetProfileUrlAfterInsert');
	}
	
	/**
	 * Get an actor object using the it's id. This method first get an actor record using the the actor node_i. 
	 * Then it would fetch the actor object based on the type of the actor record. There are two database 
	 * operations per each fetch use this method only grab single actor object
	 * @return mixed
	 * @param $id Integer
	 */
	public function getActor($id)
	{
		//$this->getMapper()->getQuery()->where('id','=',$id);
	}
	
	public function __hookSetProfileUrlAfterInsert($actor)
	{
		die;
	}
//end class	
}
Return current item: Anahita Social Engine