eZ\Publish\Core\Persistence\Legacy\Content\ObjectState\Gateway::loadObjectStateGroupData PHP Метод

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

Loads data for an object state group.
abstract public loadObjectStateGroupData ( mixed $groupId ) : array
$groupId mixed
Результат array
    public abstract function loadObjectStateGroupData($groupId);

Usage Example

Пример #1
0
 /**
  * Loads an object state group
  *
  * @param mixed $groupId
  *
  * @throws \eZ\Publish\API\Repository\Exceptions\NotFoundException if the group was not found
  *
  * @return \eZ\Publish\SPI\Persistence\Content\ObjectState\Group
  */
 public function loadGroup($groupId)
 {
     $data = $this->objectStateGateway->loadObjectStateGroupData($groupId);
     if (empty($data)) {
         throw new NotFoundException("ObjectStateGroup", $groupId);
     }
     return $this->objectStateMapper->createObjectStateGroupFromData($data);
 }
All Usage Examples Of eZ\Publish\Core\Persistence\Legacy\Content\ObjectState\Gateway::loadObjectStateGroupData