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

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

Returns data for the first level children of the location identified by given $locationId.
abstract public getChildren ( mixed $locationId ) : array
$locationId mixed
리턴 array
    public abstract function getChildren($locationId);

Usage Example

예제 #1
0
 /**
  * Returns data for the first level children of the location identified by given $locationId
  *
  * @param mixed $locationId
  *
  * @return array
  */
 public function getChildren($locationId)
 {
     try {
         return $this->innerGateway->getChildren($locationId);
     } 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::getChildren