eZPublishCommunityProject  2013.6
eZ\Publish\Core\Persistence\Legacy\Content\Language\Gateway Class Reference

Language Handler. More...

+ Inheritance diagram for eZ\Publish\Core\Persistence\Legacy\Content\Language\Gateway:

Public Member Functions

 canDeleteLanguage ($id)
 Check whether a language may be deleted. More...
 
 deleteLanguage ($id)
 Deletes the language with $id. More...
 
 insertLanguage (Language $language)
 Inserts the given $language. More...
 
 loadAllLanguagesData ()
 Loads the data for all languages. More...
 
 loadLanguageData ($id)
 Loads data for the Language with $id. More...
 
 loadLanguageDataByLanguageCode ($languageCode)
 Loads data for the Language with Language Code (eg: eng-GB) More...
 
 updateLanguage (Language $language)
 Updates the data of the given $language. More...
 

Detailed Description

Member Function Documentation

eZ\Publish\Core\Persistence\Legacy\Content\Language\Gateway::canDeleteLanguage (   $id)
abstract

Check whether a language may be deleted.

Parameters
int$id
Returns
boolean
eZ\Publish\Core\Persistence\Legacy\Content\Language\Gateway::deleteLanguage (   $id)
abstract

Deletes the language with $id.

Parameters
int$id
Returns
void
eZ\Publish\Core\Persistence\Legacy\Content\Language\Gateway::insertLanguage ( Language  $language)
abstract

Inserts the given $language.

Parameters
Language$language
Returns
int ID of the new language
eZ\Publish\Core\Persistence\Legacy\Content\Language\Gateway::loadAllLanguagesData ( )
abstract

Loads the data for all languages.

Returns
string[][]
eZ\Publish\Core\Persistence\Legacy\Content\Language\Gateway::loadLanguageData (   $id)
abstract

Loads data for the Language with $id.

Parameters
int$id
Returns
string[][]
eZ\Publish\Core\Persistence\Legacy\Content\Language\Gateway::loadLanguageDataByLanguageCode (   $languageCode)
abstract

Loads data for the Language with Language Code (eg: eng-GB)

Parameters
string$languageCode
Returns
string[][]
eZ\Publish\Core\Persistence\Legacy\Content\Language\Gateway::updateLanguage ( Language  $language)
abstract

Updates the data of the given $language.

Parameters
Language$language
Returns
void

The documentation for this class was generated from the following file: