Warning: mysql_connect(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/zurmoorg/public_html/z-header.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/zurmoorg/public_html/z-header.php on line 8

LanguagesCollectionView Class Reference

Inheritance diagram for LanguagesCollectionView:
MetadataView View

Public Member Functions

 __construct ($controllerId, $moduleId, $messageBoxContent=null)
 getTitle ()
 isUniqueToAPage ()
 renderLanguageRow ($languageCode, $languageData=null)

Static Public Member Functions

static getLanguageDataByLanguageCode ($languageCode)
static getLanguagesData ()
static renderFlashMessage ($text, $permanent=false, $showIcon=true)

Data Fields

const LANGUAGE_STATUS_ACTIVE = 1
const LANGUAGE_STATUS_INACTIVE = 2

Protected Member Functions

 renderContent ()
 registerJavaScript ()
 renderMessageBoxContent ()
 renderLanguagesList ($languageStatus)
 renderUpdateButton ($languageCode, $languageData)
 renderDeactivateButton ($languageCode, $languageData)
 renderActivateButton ($languageCode, $languageData)
 renderButtonHtml ($action, $languageCode, $languageData)
 renderButtonSpinnerSpans ()
 getLanguagesList ($languageStatus=null)

Protected Attributes

 $controllerId
 $moduleId
 $languagesList
 $messageBoxContent

Detailed Description

A view that displays a list of supported languages in the application.

Definition at line 41 of file LanguagesCollectionView.php.


Constructor & Destructor Documentation

__construct ( controllerId,
moduleId,
messageBoxContent = null 
)
Parameters:
string $controllerId
string $moduleId
null|string $messageBoxContent

Definition at line 59 of file LanguagesCollectionView.php.


Member Function Documentation

isUniqueToAPage (  ) 

Tells View that it can render the extending class' divs with and id matching their name. Must be overridden to return false in extending classes that can be rendered multiple times within a page to avoid generating a page with non-unique ids which will fail XHtml validation. For those it will render a class attribute with their name.

Reimplemented from View.

Definition at line 74 of file LanguagesCollectionView.php.

renderContent (  )  [protected]

Renders the view content.

Reimplemented from View.

Definition at line 79 of file LanguagesCollectionView.php.

renderActivateButton ( languageCode,
languageData 
) [protected]
Parameters:
string $languageCode
array $languageData
Returns:
string

Definition at line 251 of file LanguagesCollectionView.php.

static renderFlashMessage ( text,
permanent = false,
showIcon = true 
) [static]
Parameters:
string $text
bool $permanent
bool $showIcon
Returns:
string

Definition at line 390 of file LanguagesCollectionView.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Sun Mar 24 07:10:52 2019

Warning: mysql_connect(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/zurmoorg/public_html/z-footer.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/zurmoorg/public_html/z-footer.php on line 8