コード例 #1
0
ファイル: Photos.php プロジェクト: jkinner/ringside
 /**
  * Enter description here...
  *
  * @param unknown_type $pids
  * @return unknown
  */
 public static function getPhotoTags($pids)
 {
     return Api_Dao_PhotoTag::getPhotoTags($pids)->toArray();
 }
コード例 #2
0
 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;
 }
コード例 #3
0
 public function getPhotoTags($pid)
 {
     $tags = Api_Dao_PhotoTag::getPhotoTags(array($pid));
     return $tags->toArray();
 }