eZ\Publish\Core\Persistence\Legacy\Content\Type\Gateway::loadGroupData PHP Method

loadGroupData() abstract public method

Returns an array with data about the Group with $groupId.
abstract public loadGroupData ( integer $groupId ) : array
$groupId integer
return array
    public abstract function loadGroupData($groupId);

Usage Example

 /**
  * @param mixed $groupId
  *
  * @throws \eZ\Publish\API\Repository\Exceptions\NotFoundException If type group with $groupId is not found
  *
  * @return Group
  */
 public function loadGroup($groupId)
 {
     $groups = $this->mapper->extractGroupsFromRows($this->contentTypeGateway->loadGroupData($groupId));
     if (count($groups) !== 1) {
         throw new Exception\TypeGroupNotFound($groupId);
     }
     return $groups[0];
 }
All Usage Examples Of eZ\Publish\Core\Persistence\Legacy\Content\Type\Gateway::loadGroupData