示例#1
0
文件: Row.php 项目: 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;
     }
 }
示例#2
0
 public function __construct(Statement $statement)
 {
     $statement->normalizeRow($this);
 }
示例#3
0
Nette\ArrayHash{function
__construct(Statement$statement){$statement->normalizeRow($this);}function