Class lispa\amos\core\views\common\HeaderMenu
Inheritance | lispa\amos\core\views\common\HeaderMenu |
---|
Public Methods
Method | Description | Defined By |
---|---|---|
getCustomContent() | Return array of custom menu | lispa\amos\core\views\common\HeaderMenu |
getListLanguages() | lispa\amos\core\views\common\HeaderMenu | |
getToggleTranslate() | Echo translate button | lispa\amos\core\views\common\HeaderMenu |
getTranslationField() | Return the array will add to header menu | lispa\amos\core\views\common\HeaderMenu |
Protected Methods
Method | Description | Defined By |
---|---|---|
getActiveLanguages() | Return array of languages | lispa\amos\core\views\common\HeaderMenu |
Method Details
Return array of languages
protected array getActiveLanguages ( $table ) | ||
$table | string |
Return array of custom menu
public string getCustomContent ( ) |
public void getListLanguages ( ) |
Echo translate button
public void getToggleTranslate ( $addClass = 'btn btn-secondary' ) | ||
$addClass |
Return the array will add to header menu
public array getTranslationField ( ) |