eZ\Publish\Core\Persistence\Legacy\Content\UrlAlias\Gateway::loadLocationEntries PHP Method

loadLocationEntries() abstract public method

Loads list of aliases by given $locationId.
abstract public loadLocationEntries ( mixed $locationId, boolean $custom = false, mixed $languageId = false ) : array
$locationId mixed
$custom boolean
$languageId mixed
return array
    public abstract function loadLocationEntries($locationId, $custom = false, $languageId = false);

Usage Example

 /**
  * Loads list of aliases by given $locationId.
  *
  * @param mixed $locationId
  * @param bool $custom
  * @param mixed $languageId
  *
  * @return array
  */
 public function loadLocationEntries($locationId, $custom = false, $languageId = false)
 {
     try {
         return $this->innerGateway->loadLocationEntries($locationId, $custom);
     } catch (DBALException $e) {
         throw new \RuntimeException('Database error', 0, $e);
     } catch (PDOException $e) {
         throw new \RuntimeException('Database error', 0, $e);
     }
 }
All Usage Examples Of eZ\Publish\Core\Persistence\Legacy\Content\UrlAlias\Gateway::loadLocationEntries