getData() public static method

Get data for a given id.
public static getData ( integer $id ) : array
$id integer The id for the record to get.
return array
Beispiel #1
0
 /**
  * Get the data
  */
 private function getData()
 {
     $this->data = BackendFormBuilderModel::getData($this->id);
     $this->record = BackendFormBuilderModel::get($this->data['form_id']);
 }