get() public static méthode

Get an item.
Deprecation: use doctrine instead
public static get ( string $id ) : array
$id string The id of the item to fetch.
Résultat array
Exemple #1
0
 /**
  * Load the data
  */
 private function loadData()
 {
     $this->item = FrontendContentBlocksModel::get((int) $this->data['id']);
 }