get() public static method

Get an item.
public static get ( string $id ) : array
$id string The id of the item to fetch.
return array
Esempio n. 1
0
 /**
  * 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'];
 }
Esempio n. 2
0
 /**
  * Load the data.
  */
 private function loadData()
 {
     // fetch the item
     $this->item = FrontendFormBuilderModel::get((int) $this->data['id']);
 }