Loads the data for all languages.
abstract public loadAllLanguagesData ( ) : string[][] | ||
return | string[][] |
/** * Loads the data for all languages * * @return string[][] */ public function loadAllLanguagesData() { try { return $this->innerGateway->loadAllLanguagesData(); } catch (DBALException $e) { throw new RuntimeException('Database error', 0, $e); } catch (PDOException $e) { throw new RuntimeException('Database error', 0, $e); } }
/** * Get all languages. * * @return \eZ\Publish\SPI\Persistence\Content\Language[] */ public function loadAll() { return $this->languageMapper->extractLanguagesFromRows($this->languageGateway->loadAllLanguagesData()); }