All Data Structures Functions Variables Pages
Public Member Functions | Static Public Member Functions | Data Fields | Protected Member Functions | Protected Attributes
LanguagesCollectionView Class Reference
Inheritance diagram for LanguagesCollectionView:
MetadataView View

Public Member Functions

 __construct ($controllerId, $moduleId, $messageBoxContent=null)
 
 getTitle ()
 
 isUniqueToAPage ()
 
 renderLanguageRow ($languageCode, $languageData=null)
 
- Public Member Functions inherited from View
 isUniqueToAPage ()
 
 render ()
 
 setCssClasses (array $classes)
 
 getCssClasses ()
 
 getTitle ()
 
 getPostTruncatedTitleContent ()
 

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 Member Functions inherited from View
 resolveDefaultClasses ()
 
 renderContainerWrapperId ()
 
 getContainerWrapperTag ()
 
 getId ()
 
 renderContent ()
 
 getViewStyle ()
 
 renderTitleContent ()
 
 resolveCustomViewTemplateFileName ($theme, $view)
 

Protected Attributes

 $controllerId
 
 $moduleId
 
 $languagesList
 
 $messageBoxContent
 
- Protected Attributes inherited from View
 $cssClasses = array()
 
 $title
 
 $makeDefaultClassesFromClassHeirarchy = true
 

Additional Inherited Members

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

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:
Generated on Sat Jan 25 2020 07:10:36