public function loadObjectStateGroupListData($offset, $limit)
{
$query = $this->createObjectStateGroupFindQuery();
$query->limit($limit > 0 ? $limit : PHP_INT_MAX, $offset);
$statement = $query->prepare();
$statement->execute();
$rows = array();
while ($row = $statement->fetch(\PDO::FETCH_ASSOC)) {
$rows[$row['ezcobj_state_group_id']][] = $row;
}
return array_values($rows);
}