get() 공개 정적인 메소드

Get an item.
public static get ( string $id ) : array
$id string The id of the item to fetch.
리턴 array
예제 #1
0
파일: Form.php 프로젝트: forkcms/forkcms
 /**
  * Load the data.
  */
 private function loadData()
 {
     // fetch the item
     $this->item = FrontendFormBuilderModel::get((int) $this->data['id']);
     // define form name
     $this->formName = 'form' . $this->item['id'];
 }
예제 #2
0
파일: Form.php 프로젝트: bwgraves/forkcms
 /**
  * Load the data.
  */
 private function loadData()
 {
     // fetch the item
     $this->item = FrontendFormBuilderModel::get((int) $this->data['id']);
 }