Beispiel #1
0
 /**
  * Initiliaze model from array
  *
  * @param array $array Data
  *
  * @return Model
  */
 public static function fromArray(array $array)
 {
     $propertyTable = new Model();
     $propertyTable->setData($array);
     $propertyTable->setOrigData();
     return $propertyTable;
 }