public removeLocation ( mixed $locationId ) | ||
$locationId | mixed |
public function removeLocation($locationId)
{
$query = $this->handler->createDeleteQuery();
$query->deleteFrom('ezcontentobject_tree')->where($query->expr->eq($this->handler->quoteColumn('node_id'), $query->bindValue($locationId, null, \PDO::PARAM_INT)));
$query->prepare()->execute();
}