protected applySubtreeLimitation ( eZ\Publish\Core\Persistence\Database\Query $query, string $rootLocationId ) | ||
$query | eZ\Publish\Core\Persistence\Database\Query | |
$rootLocationId | string |
protected function applySubtreeLimitation(DatabaseQuery $query, $rootLocationId)
{
$query->where($query->expr->like($this->handler->quoteColumn('path_string', 'ezcontentobject_tree'), $query->bindValue('%/' . $rootLocationId . '/%')));
}