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

loadSectionData() public method

Loads data for section with $id.
public loadSectionData ( integer $id ) : string[][]
$id integer
return string[][]
    public function loadSectionData($id)
    {
        $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('id'), $query->bindValue($id, null, \PDO::PARAM_INT)));
        $statement = $query->prepare();
        $statement->execute();
        return $statement->fetchAll(\PDO::FETCH_ASSOC);
    }