eZ\Publish\Core\Persistence\Legacy\Content\ObjectState\Gateway::loadObjectStateListData PHP Method

loadObjectStateListData() abstract public method

Loads data for all object states belonging to group with $groupId ID.
abstract public loadObjectStateListData ( mixed $groupId ) : array
$groupId mixed
return array
    public abstract function loadObjectStateListData($groupId);

Usage Example

 /**
  * Loads data for all object states belonging to group with $groupId ID.
  *
  * @param mixed $groupId
  *
  * @return array
  */
 public function loadObjectStateListData($groupId)
 {
     try {
         return $this->innerGateway->loadObjectStateListData($groupId);
     } 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\ObjectState\Gateway::loadObjectStateListData