2024.8.23
|
Static Public Member Functions | |
static | getActionChangeFilezillaPort () |
static | getActionEnableFilezilla ($enable) |
static | getActionInstallFilezillaService () |
static | getActionRemoveFilezillaService () |
static | getActionSwitchFilezillaVersion ($version) |
static | getMenuFilezilla () |
static | getMenuFilezillaService () |
static | getMenuFilezillaVersions () |
static | process () |
Data Fields | |
const | ACTION_CHANGE_PORT = 'changeFilezillaPort' |
const | ACTION_ENABLE = 'enableFilezilla' |
const | ACTION_INSTALL_SERVICE = 'installFilezillaService' |
const | ACTION_REMOVE_SERVICE = 'removeFilezillaService' |
const | ACTION_SWITCH_VERSION = 'switchFilezillaVersion' |
const | MENU = 'filezilla' |
const | MENU_SERVICE = 'filezillaService' |
const | MENU_VERSIONS = 'filezillaVersions' |
Class TplAppFilezilla
This class provides methods to generate actions and menu items for managing the Filezilla module in the Bearsampp application. It includes functionalities for enabling/disabling Filezilla, switching versions, changing ports, and managing services.
Definition at line 16 of file class.tpl.app.filezilla.php.
|
static |
Generates the action to change the Filezilla port.
This method creates the action string for changing the Filezilla port, and includes a command to reload the application.
@global object $bearsamppBins Provides access to system binaries and their configurations.
Definition at line 242 of file class.tpl.app.filezilla.php.
References $bearsamppBins, Action\CHANGE_PORT, TplAppReload\getActionReload(), and TplApp\getActionRun().
|
static |
Generates the action to enable or disable Filezilla.
This method creates the action string for enabling or disabling Filezilla, and includes a command to reload the application.
@global object $bearsamppBins Provides access to system binaries and their configurations.
int | $enable | The enable/disable flag (1 for enable, 0 for disable). |
Definition at line 147 of file class.tpl.app.filezilla.php.
References $bearsamppBins, Action\ENABLE, TplAppReload\getActionReload(), and TplApp\getActionRun().
|
static |
Generates the action to install the Filezilla service.
This method creates the action string for installing the Filezilla service, and includes a command to reload the application.
Definition at line 257 of file class.tpl.app.filezilla.php.
References TplAppReload\getActionReload(), TplApp\getActionRun(), ActionService\INSTALL, Action\SERVICE, and BinFilezilla\SERVICE_NAME.
|
static |
Generates the action to remove the Filezilla service.
This method creates the action string for removing the Filezilla service, and includes a command to reload the application.
Definition at line 270 of file class.tpl.app.filezilla.php.
References TplAppReload\getActionReload(), TplApp\getActionRun(), ActionService\REMOVE, Action\SERVICE, and BinFilezilla\SERVICE_NAME.
|
static |
Generates the action to switch Filezilla versions.
This method creates the action string for switching Filezilla versions, and includes a command to reload the application.
@global object $bearsamppBins Provides access to system binaries and their configurations.
string | $version | The version to switch to. |
Definition at line 165 of file class.tpl.app.filezilla.php.
References $bearsamppBins, TplAppReload\getActionReload(), TplApp\getActionRun(), and Action\SWITCH_VERSION.
|
static |
Generates the menu items and actions for managing Filezilla.
This method creates menu items for downloading, enabling/disabling, switching versions, managing services, accessing the admin interface, and viewing logs for Filezilla.
@global object $bearsamppBins Provides access to system binaries and their configurations. @global object $bearsamppLang Provides language support for retrieving language-specific values.
Definition at line 54 of file class.tpl.app.filezilla.php.
References $bearsamppBins, $bearsamppLang, Lang\ADMINISTRATION, Config\DISABLED, Lang\DOWNLOAD_MORE, Config\ENABLED, TplApp\getActionMulti(), TplAestan\getItemExe(), TplAestan\getItemLink(), TplAestan\getItemNotepad(), TplAestan\getItemSeparator(), TplApp\getMenu(), Util\getWebsiteUrl(), TplAestan\GLYPH_BROWSER, TplAestan\GLYPH_CHECK, TplAestan\GLYPH_FILEZILLA, Lang\MENU_ENABLE, Lang\MENU_LOGS, TplApp\SECTION_CALL, TplApp\SECTION_CONTENT, Lang\SERVICE, and Lang\VERSIONS.
|
static |
Generates the menu items and actions for managing Filezilla services.
This method creates menu items for starting, stopping, restarting, checking ports, changing ports, and installing/removing the Filezilla service.
@global object $bearsamppLang Provides language support for retrieving language-specific values. @global object $bearsamppBins Provides access to system binaries and their configurations.
Definition at line 183 of file class.tpl.app.filezilla.php.
References $bearsamppBins, $bearsamppLang, $result, Action\CHECK_PORT, TplApp\getActionMulti(), TplApp\getActionRun(), TplAestan\getItemActionServiceRestart(), TplAestan\getItemActionServiceStart(), TplAestan\getItemActionServiceStop(), TplAestan\getItemSeparator(), TplAestan\GLYPH_LIGHT, TplAestan\GLYPH_NETWORK, TplAestan\GLYPH_RED_LIGHT, TplAestan\GLYPH_SERVICE_INSTALL, TplAestan\GLYPH_SERVICE_REMOVE, Lang\MENU_CHANGE_PORT, Lang\MENU_CHECK_PORT, Lang\MENU_INSTALL_SERVICE, Lang\MENU_REMOVE_SERVICE, TplApp\SECTION_CALL, and TplApp\SECTION_CONTENT.
|
static |
Generates the menu items and actions for switching Filezilla versions.
This method creates menu items for each available version of Filezilla, allowing the user to switch between them.
@global object $bearsamppBins Provides access to system binaries and their configurations.
Definition at line 114 of file class.tpl.app.filezilla.php.
References $bearsamppBins, TplApp\getActionMulti(), TplAestan\GLYPH_CHECK, TplApp\SECTION_CALL, and TplApp\SECTION_CONTENT.
|
static |
Generates the menu item and associated actions for enabling/disabling Filezilla.
@global object $bearsamppLang Provides language support for retrieving language-specific values. @global object $bearsamppBins Provides access to system binaries and their configurations.
Definition at line 36 of file class.tpl.app.filezilla.php.
References $bearsamppBins, $bearsamppLang, Lang\FILEZILLA, and TplApp\getMenuEnable().
Referenced by TplApp\getSectionMenuLeft().
const TplAppFilezilla::ACTION_CHANGE_PORT = 'changeFilezillaPort' |
Definition at line 24 of file class.tpl.app.filezilla.php.
const TplAppFilezilla::ACTION_ENABLE = 'enableFilezilla' |
Definition at line 22 of file class.tpl.app.filezilla.php.
const TplAppFilezilla::ACTION_INSTALL_SERVICE = 'installFilezillaService' |
Definition at line 25 of file class.tpl.app.filezilla.php.
const TplAppFilezilla::ACTION_REMOVE_SERVICE = 'removeFilezillaService' |
Definition at line 26 of file class.tpl.app.filezilla.php.
const TplAppFilezilla::ACTION_SWITCH_VERSION = 'switchFilezillaVersion' |
Definition at line 23 of file class.tpl.app.filezilla.php.
const TplAppFilezilla::MENU = 'filezilla' |
Definition at line 18 of file class.tpl.app.filezilla.php.
const TplAppFilezilla::MENU_SERVICE = 'filezillaService' |
Definition at line 20 of file class.tpl.app.filezilla.php.
const TplAppFilezilla::MENU_VERSIONS = 'filezillaVersions' |
Definition at line 19 of file class.tpl.app.filezilla.php.