Loads data for all sections.
abstract public loadAllSectionData ( ) : string[][] | ||
Результат | string[][] |
/** * Loads data for all sections. * * @return string[][] */ public function loadAllSectionData() { try { return $this->innerGateway->loadAllSectionData(); } catch (DBALException $e) { throw new RuntimeException('Database error', 0, $e); } catch (PDOException $e) { throw new RuntimeException('Database error', 0, $e); } }
/** * Get all section data * * @return \eZ\Publish\SPI\Persistence\Content\Section[] */ public function loadAll() { $rows = $this->sectionGateway->loadAllSectionData(); return $this->createSectionsFromArray($rows); }