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

loadObjectStateGroupListData() abstract public method

Loads data for all object state groups, filtered by $offset and $limit.
abstract public loadObjectStateGroupListData ( integer $offset, integer $limit ) : array
$offset integer
$limit integer
return array
    public abstract function loadObjectStateGroupListData($offset, $limit);

Usage Example

 /**
  * Loads data for all object state groups, filtered by $offset and $limit.
  *
  * @param int $offset
  * @param int $limit
  *
  * @return array
  */
 public function loadObjectStateGroupListData($offset, $limit)
 {
     try {
         return $this->innerGateway->loadObjectStateGroupListData($offset, $limit);
     } 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::loadObjectStateGroupListData