/** * Enter description here... * * @param unknown_type $pids * @return unknown */ public static function getPhotoTags($pids) { return Api_Dao_PhotoTag::getPhotoTags($pids)->toArray(); }
public static function getOnePhotoTag($pid, $subjectId, $text, $xcoord, $ycoord) { $id = Api_Dao_PhotoTag::createPhotoTag($pid, $subjectId, $text, $xcoord, $ycoord, null); $tags = Api_Dao_PhotoTag::getPhotoTags(array($id)); if (count($tags) == 1) { return $tags[0]; } return null; }
public function getPhotoTags($pid) { $tags = Api_Dao_PhotoTag::getPhotoTags(array($pid)); return $tags->toArray(); }