createSelectionInstance() публичный Метод

public createSelectionInstance ( $table = NULL )
Пример #1
0
 /**
  * Deletes row.
  * @return int number of affected rows
  */
 public function delete()
 {
     $res = $this->table->createSelectionInstance()->wherePrimary($this->getPrimary())->delete();
     if ($res > 0 && ($signature = $this->getSignature(FALSE))) {
         unset($this->table[$signature]);
     }
     return $res;
 }