예제 #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();
 }