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

Language Handler. More...

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

Public Member Functions

 __construct (Gateway $innerGateway)
 Creates a new exception conversion gateway around $innerGateway. More...
 
 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...
 
- Public Member Functions inherited from eZ\Publish\Core\Persistence\Legacy\Content\Language\Gateway
 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...
 

Protected Attributes

 $innerGateway
 

Detailed Description

Constructor & Destructor Documentation

eZ\Publish\Core\Persistence\Legacy\Content\Language\Gateway\ExceptionConversion::__construct ( Gateway  $innerGateway)

Creates a new exception conversion gateway around $innerGateway.

Parameters
Gateway$innerGateway

Member Function Documentation

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

Check whether a language may be deleted.

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

Deletes the language with $id.

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

Inserts the given $language.

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

Loads the data for all languages.

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

Loads data for the Language with $id.

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

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

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

Updates the data of the given $language.

Parameters
Language$language
Returns
void

Member Data Documentation

eZ\Publish\Core\Persistence\Legacy\Content\Language\Gateway\ExceptionConversion::$innerGateway
protected

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