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

loadAutogeneratedEntries() abstract public method

Loads all autogenerated entries with given $parentId with optionally included history entries.
abstract public loadAutogeneratedEntries ( mixed $parentId, boolean $includeHistory = false ) : array
$parentId mixed
$includeHistory boolean
return array
    public abstract function loadAutogeneratedEntries($parentId, $includeHistory = false);

Usage Example

 /**
  * Loads all autogenerated entries with given $parentId with optionally included history entries.
  *
  * @param mixed $parentId
  * @param bool $includeHistory
  *
  * @return array
  */
 public function loadAutogeneratedEntries($parentId, $includeHistory = false)
 {
     try {
         return $this->innerGateway->loadAutogeneratedEntries($parentId, $includeHistory);
     } 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::loadAutogeneratedEntries