8 * @var \pq\Gateway\Table
20 protected $mods = array();
23 * @param \pq\Gateway\Table $table
26 function __construct(Table
$table, array $data = null) {
27 $this->table
= $table;
32 if (!isset($this->mod
[$p])) {
33 $this->mod
[$p] = new Cell($this, $p);
35 return $this->mod
[$p];
39 $this->data
= $this->table
->create($this->mods
)->getIterator()->current()->data
;
40 $this->mods
= array();
45 $this->data
= $this->table
->update($this->data
, $this->mods
)->getIterator()->current()->data
;
46 $this->mods
= array();
51 $this->data
= $this->table
->delete($this->data
, "*")->getIterator()->current()->data
;
52 $this->mods
= array();