Exemplo n.º 1
0
 public final function RemoveTable(ITable $Table)
 {
     unset($this->Tables[$Table->GetName()]);
     array_walk($Table->GetColumns(), [$this, 'RemoveColumn']);
 }
Exemplo n.º 2
0
 private function InvalidTable(ITable $Table)
 {
     return new InvalidTableException('The supplied table is not part of this result row, expecting on of %s: %s given', implode(', ', array_keys($this->Rows)), $Table->GetName());
 }
Exemplo n.º 3
0
 /**
  * Add a table to the criterion.
  * 
  * @param ITable $Table The table to add
  * @return void
  */
 public final function AddTable(ITable $Table)
 {
     $this->Tables[$Table->GetName()] = $Table;
 }