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

loadObjectStateDataByIdentifier() публичный Метод

Loads data for an object state by identifier.
public loadObjectStateDataByIdentifier ( string $identifier, mixed $groupId ) : array
$identifier string
$groupId mixed
Результат array
    public function loadObjectStateDataByIdentifier($identifier, $groupId)
    {
        $query = $this->createObjectStateFindQuery();
        $query->where($query->expr->lAnd($query->expr->eq($this->dbHandler->quoteColumn('identifier', 'ezcobj_state'), $query->bindValue($identifier, null, \PDO::PARAM_STR)), $query->expr->eq($this->dbHandler->quoteColumn('group_id', 'ezcobj_state'), $query->bindValue($groupId, null, \PDO::PARAM_INT))));
        $statement = $query->prepare();
        $statement->execute();
        return $statement->fetchAll(\PDO::FETCH_ASSOC);
    }