eZ\Publish\Core\Persistence\Legacy\Content\Location\Gateway::loadParentLocationsDataForDraftContent PHP Method

loadParentLocationsDataForDraftContent() abstract public method

Loads data for all parent Locations for unpublished Content by given $contentId.
abstract public loadParentLocationsDataForDraftContent ( mixed $contentId ) : array
$contentId mixed
return array
    public abstract function loadParentLocationsDataForDraftContent($contentId);

Usage Example

Ejemplo n.º 1
0
 /**
  * @see \eZ\Publish\Core\Persistence\Legacy\Content\Location\Gateway::loadParentLocationsDataForDraftContent
  */
 public function loadParentLocationsDataForDraftContent($contentId)
 {
     try {
         return $this->innerGateway->loadParentLocationsDataForDraftContent($contentId);
     } 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\Location\Gateway::loadParentLocationsDataForDraftContent