createSelectionInstance() public méthode

public createSelectionInstance ( $table = NULL )
Exemple #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;
 }