Exemplo n.º 1
0
 /**
  * Initiliaze from array
  *
  * @param array $array Data
  *
  * @return Model
  */
 public static function fromArray(array $array)
 {
     $tabTable = new Model();
     $tabTable->setData($array);
     $tabTable->setOrigData();
     return $tabTable;
 }