eZ\Publish\Core\Persistence\Legacy\Content\Language\Gateway\ExceptionConversion::loadLanguageData PHP Method

loadLanguageData() public method

Loads data for the Language with $id.
public loadLanguageData ( integer $id ) : string[][]
$id integer
return string[][]
    public function loadLanguageData($id)
    {
        try {
            return $this->innerGateway->loadLanguageData($id);
        } catch (DBALException $e) {
            throw new RuntimeException('Database error', 0, $e);
        } catch (PDOException $e) {
            throw new RuntimeException('Database error', 0, $e);
        }
    }