Ejemplo n.º 1
0
Archivo: Row.php Proyecto: svobodni/web
 public function __construct(Statement $statement)
 {
     $data = array();
     foreach ((array) $this as $key => $value) {
         $data[$key] = $value;
         unset($this->{$key});
     }
     foreach ($statement->normalizeRow($data) as $key => $value) {
         $this->{$key} = $value;
     }
 }
Ejemplo n.º 2
0
 public function __construct(Statement $statement)
 {
     $statement->normalizeRow($this);
 }
Ejemplo n.º 3
0
Nette\ArrayHash{function
__construct(Statement$statement){$statement->normalizeRow($this);}function