eZ\Publish\Core\Persistence\Legacy\Content\Gateway::getAllLocationIds PHP 메소드

getAllLocationIds() 추상적인 공개 메소드

Returns all IDs for locations that refer to $contentId.
abstract public getAllLocationIds ( integer $contentId ) : int[]
$contentId integer
리턴 int[]
    public abstract function getAllLocationIds($contentId);

Usage Example

 /**
  * Returns all IDs for locations that refer to $contentId
  *
  * @param int $contentId
  *
  * @return int[]
  */
 public function getAllLocationIds($contentId)
 {
     try {
         return $this->innerGateway->getAllLocationIds($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\Gateway::getAllLocationIds