eZ\Publish\Core\Persistence\Legacy\Content\Section\Gateway\DoctrineDatabase::loadSectionDataByIdentifier PHP Method

loadSectionDataByIdentifier() public method

Loads data for section with $identifier.
public loadSectionDataByIdentifier ( integer $identifier ) : string[][]
$identifier integer
return string[][]
    public function loadSectionDataByIdentifier($identifier)
    {
        $query = $this->dbHandler->createSelectQuery();
        $query->select($this->dbHandler->quoteColumn('id'), $this->dbHandler->quoteColumn('identifier'), $this->dbHandler->quoteColumn('name'))->from($this->dbHandler->quoteTable('ezsection'))->where($query->expr->eq($this->dbHandler->quoteColumn('identifier'), $query->bindValue($identifier, null, \PDO::PARAM_STR)));
        $statement = $query->prepare();
        $statement->execute();
        return $statement->fetchAll(\PDO::FETCH_ASSOC);
    }