Open Journal Systems  2.4.4
 All Classes Namespaces Functions Variables Groups Pages
Language Class Reference
Inheritance diagram for Language:
DataObject

Public Member Functions

 getCode ()
 
 getName ()
 
 Language ()
 
 setCode ($code)
 
 setName ($name)
 
- Public Member Functions inherited from DataObject
 addSupportedMetadataAdapter (&$metadataAdapter)
 
 DataObject ($callHooks=true)
 
extractMetadata (&$metadataSchema)
 
 getAdditionalMetadataFieldNames ()
 
getAllData ()
 
getData ($key, $locale=null)
 
 getHasLoadableAdapters ()
 
 getId ()
 
 getLocaleMetadataFieldNames ()
 
getLocalizedData ($key)
 
 getMetadataFieldNames ($translated=true)
 
 getSetMetadataFieldNames ($translated=true)
 
getSupportedExtractionAdapters ()
 
getSupportedInjectionAdapters ()
 
getSupportedMetadataSchemas ()
 
 hasData ($key, $locale=null)
 
 injectMetadata (&$metadataDescription)
 
 removeSupportedMetadataAdapter ($metadataSchemaName)
 
 setAllData (&$data)
 
 setData ($key, $value, $locale=null)
 
 setHasLoadableAdapters ($hasLoadableAdapters)
 
 setId ($id)
 
upcastTo (&$targetObject)
 

Additional Inherited Members

- Public Attributes inherited from DataObject
 $_data = array()
 

Detailed Description

Basic class describing a language.

See Also
LanguageDAO

Definition at line 22 of file Language.inc.php.

Member Function Documentation

Language::getCode ( )

Get language code.

Returns
string

Definition at line 54 of file Language.inc.php.

References DataObject\getData().

Language::getName ( )

Get the name of the language.

Returns
string

Definition at line 38 of file Language.inc.php.

References DataObject\getData().

Language::Language ( )

Constructor

Definition at line 26 of file Language.inc.php.

Language::setCode (   $code)

Set language code.

Parameters
$codestring

Definition at line 62 of file Language.inc.php.

References DataObject\setData().

Language::setName (   $name)

Set the name of the language.

Parameters
$namestring

Definition at line 46 of file Language.inc.php.

References DataObject\setData().


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