getBasicNodeDataByRemoteId() абстрактный публичный Метод

Returns an array with basic node data for the node with $remoteId.
abstract public getBasicNodeDataByRemoteId ( mixed $remoteId ) : array
$remoteId mixed
Результат array
Пример #1
0
 /**
  * Returns an array with basic node data for the node with $remoteId
  *
  * @todo optimize
  * @param mixed $remoteId
  *
  * @return array
  */
 public function getBasicNodeDataByRemoteId($remoteId)
 {
     try {
         return $this->innerGateway->getBasicNodeDataByRemoteId($remoteId);
     } catch (DBALException $e) {
         throw new RuntimeException('Database error', 0, $e);
     } catch (PDOException $e) {
         throw new RuntimeException('Database error', 0, $e);
     }
 }
Пример #2
0
 /**
  * Loads the data for the location identified by $remoteId.
  *
  * @param string $remoteId
  *
  * @throws \eZ\Publish\API\Repository\Exceptions\NotFoundException
  *
  * @return \eZ\Publish\SPI\Persistence\Content\Location
  */
 public function loadByRemoteId($remoteId)
 {
     $data = $this->locationGateway->getBasicNodeDataByRemoteId($remoteId);
     return $this->locationMapper->createLocationFromRow($data);
 }