SD_Language Class Reference
[Language]

Base class for all language classes - heavily based on Semantic MediaWiki's 'SMW_Language' class. More...

Inherited by SD_LanguageAr, SD_LanguageArz, SD_LanguageDe, SD_LanguageDe_formal, SD_LanguageEn, SD_LanguageFa, SD_LanguageNl, SD_LanguageZh_cn, and SD_LanguageZh_tw.

List of all members.

Public Member Functions

 getNamespaces ()
 Function that returns an array of namespace identifiers.
 getNamespaceAliases ()
 Function that returns an array of namespace aliases, if any.
 getPropertyLabels ()
 Function that returns the labels for the special properties.
 getPropertyAliases ()
 Aliases for special properties, if any.

Protected Attributes

 $m_SpecialProperties
 $m_Namespaces
 $m_SpecialPropertyAliases
 $m_NamespaceAliases


Detailed Description

Base class for all language classes - heavily based on Semantic MediaWiki's 'SMW_Language' class.

Author:
Yaron Koren

Definition at line 12 of file SD_Language.php.


Member Function Documentation

SD_Language::getNamespaces (  ) 

Function that returns an array of namespace identifiers.

Definition at line 43 of file SD_Language.php.

SD_Language::getNamespaceAliases (  ) 

Function that returns an array of namespace aliases, if any.

Definition at line 50 of file SD_Language.php.

SD_Language::getPropertyLabels (  ) 

Function that returns the labels for the special properties.

Definition at line 57 of file SD_Language.php.

SD_Language::getPropertyAliases (  ) 

Aliases for special properties, if any.

Definition at line 64 of file SD_Language.php.


Member Data Documentation

SD_Language::$m_SpecialProperties [protected]

SD_Language::$m_Namespaces [protected]

SD_Language::$m_SpecialPropertyAliases [protected]

Initial value:

 array(
                // category properties
                'Has filter' => SD_SP_HAS_FILTER,
                'Has drilldown title' => SD_SP_HAS_DRILLDOWN_TITLE,
                // filter properties
                'Covers property' => SD_SP_COVERS_PROPERTY,
                'Has value' => SD_SP_HAS_VALUE,
                'Gets values from category' => SD_SP_GETS_VALUES_FROM_CATEGORY,
                'Uses time period' => SD_SP_USES_TIME_PERIOD,
                'Has input type' => SD_SP_HAS_INPUT_TYPE,
                'Requires filter' => SD_SP_REQUIRES_FILTER,
                'Has label' => SD_SP_HAS_LABEL,
                // display properties
                'Has display parameters' => SD_SP_HAS_DISPLAY_PARAMETERS,
        )

Definition at line 19 of file SD_Language.php.

SD_Language::$m_NamespaceAliases [protected]

Initial value:

 array(
                'Filter'        => SD_NS_FILTER,
                'Filter_talk'   => SD_NS_FILTER_TALK
        )

Definition at line 35 of file SD_Language.php.


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

Generated on Sun Mar 18 07:15:42 2012 for Semantic MediaWiki by  doxygen 1.5.6