コード例 #1
0
ファイル: Album.php プロジェクト: rcrrich/cunity
 /**
  * @return array
  */
 public function getImages()
 {
     $images = new GalleryImages();
     return $images->getImages($this->id);
 }
コード例 #2
0
ファイル: Process.php プロジェクト: rcrrich/cunity
 /**
  *
  */
 private function loadImages()
 {
     $images = new GalleryImages();
     $result = $images->getImages($_POST['albumid'], ["limit" => $_POST['limit'], "offset" => $_POST['offset']]);
     $view = new View($result !== false);
     $view->addData(["result" => $result]);
     $view->sendResponse();
 }