\LangEditor
Synopsis
class LangEditor
extends LeftAndMain
implements
PermissionProvider
{
- // members
- private static string $menu_title = "Lang Editor";
- private static string $url_segment = "langeditor";
- private static integer $menu_priority = 0.6;
- private static array $allowed_actions = ;
- private static array $exclude_modules = ;
- private static array $exclude_locales = ;
- private static array $include_modules = ;
- private static string $currentLocale = "";
- private static string $currentModule = "";
- // methods
- public static void get_lang_dir()
- public static void get_lang_file()
- public static void check_module_existing_lang()
- public static void get_lang_from_locale()
- public void init()
- public void TranslationForm()
- public void loadTranslationData()
- public void Breadcrumbs()
- public static void getLanguages()
- public void getModules()
- public void SearchForm()
- public void CreateTranslationForm()
- public void index()
- public void show()
- public void doSave()
- public void doCreate()
- public void providePermissions()
- public int|bool canView()
Hierarchy
Extends
- LeftAndMain
Implements
- PermissionProvider
Members
private
- $allowed_actions
- $currentLocale
- $currentModule
- $exclude_locales
- $exclude_modules
- $include_modules
- $url_segment
Methods
public
- Breadcrumbs()
- CreateTranslationForm()
- SearchForm()
- TranslationForm()
- canView()
- check_module_existing_lang()
- doCreate()
- doSave()
- getLanguages()
- getModules()
- get_lang_dir()
- get_lang_file()
- get_lang_from_locale()
- index()
- init()
- loadTranslationData()
- providePermissions() — Return a map of permission codes to add to the dropdown shown in the Security section of the CMS.
- show()