get() 공개 정적인 메소드

Get an item.
사용 중단: use doctrine instead
public static get ( string $id ) : array
$id string The id of the item to fetch.
리턴 array
예제 #1
0
파일: Detail.php 프로젝트: bwgraves/forkcms
 /**
  * Load the data
  */
 private function loadData()
 {
     $this->item = FrontendContentBlocksModel::get((int) $this->data['id']);
 }