![]() |
2024.8.23
|
Public Member Functions | |
__construct ($id, $type) | |
getCols () | |
getConf () | |
getExe () | |
getLaunchExe () | |
getRows () | |
getShell ($args=null) | |
getTabTitleComposer () | |
getTabTitleDefault () | |
getTabTitleGhostscript () | |
getTabTitleGit ($repoPath=null) | |
getTabTitleMariadb () | |
getTabTitleMysql () | |
getTabTitleNgrok () | |
getTabTitleNodejs () | |
getTabTitlePear () | |
getTabTitlePerl () | |
getTabTitlePostgresql () | |
getTabTitlePowershell () | |
getTabTitlePython () | |
getTabTitleRuby () | |
getTabTitleYarn () | |
reload ($id=null, $type=null) | |
setVersion ($version) | |
![]() | |
__toString () | |
getCurrentPath () | |
getId () | |
getName () | |
getRelease () | |
getRootPath () | |
getSymlinkPath () | |
getType () | |
getVersion () | |
getVersionList () | |
isEnable () | |
update ($sub=0, $showWindow=false) | |
Data Fields | |
const | LOCAL_CFG_COLS = 'consolezCols' |
const | LOCAL_CFG_CONF = 'consolezConf' |
const | LOCAL_CFG_EXE = 'consolezExe' |
const | LOCAL_CFG_LAUNCH_EXE = 'consolezLaunchExe' |
const | LOCAL_CFG_ROWS = 'consolezRows' |
const | ROOT_CFG_VERSION = 'consolezVersion' |
![]() | |
const | BUNDLE_RELEASE = 'bundleRelease' |
Private Attributes | |
$cols | |
$conf | |
$exe | |
$launchExe | |
$rows | |
Additional Inherited Members | |
![]() | |
__construct () | |
replace ($key, $value) | |
replaceAll ($params) | |
updateConfig ($version=null, $sub=0, $showWindow=false) | |
![]() | |
$bearsamppConf | |
$bearsamppConfRaw | |
$currentPath | |
$enable | |
$name | |
$release = 'N/A' | |
$rootPath | |
$symlinkPath | |
$version | |
Class ToolConsoleZ
This class represents the ConsoleZ tool in the Bearsampp application. It extends the Module class and provides functionalities specific to ConsoleZ.
Definition at line 16 of file class.tool.consolez.php.
ToolConsoleZ::__construct | ( | $id, | |
$type ) |
Constructor for the ToolConsoleZ class.
string | $id | The ID of the module. |
string | $type | The type of the module. |
Definition at line 38 of file class.tool.consolez.php.
References Module\$id, Module\$type, Util\logInitClass(), and reload().
ToolConsoleZ::getCols | ( | ) |
Gets the number of columns for the ConsoleZ window.
Definition at line 149 of file class.tool.consolez.php.
References $cols.
ToolConsoleZ::getConf | ( | ) |
Gets the configuration file path for ConsoleZ.
Definition at line 131 of file class.tool.consolez.php.
References $conf.
ToolConsoleZ::getExe | ( | ) |
Gets the executable path for ConsoleZ.
Definition at line 113 of file class.tool.consolez.php.
References $exe.
ToolConsoleZ::getLaunchExe | ( | ) |
Gets the launch executable path for ConsoleZ.
Definition at line 122 of file class.tool.consolez.php.
References $launchExe.
Referenced by getShell().
ToolConsoleZ::getRows | ( | ) |
Gets the number of rows for the ConsoleZ window.
Definition at line 140 of file class.tool.consolez.php.
References $rows.
ToolConsoleZ::getShell | ( | $args = null | ) |
Gets the shell command to launch ConsoleZ.
string | null | $args | Additional arguments for the shell command. |
Definition at line 159 of file class.tool.consolez.php.
References Util\formatWindowsPath(), and getLaunchExe().
ToolConsoleZ::getTabTitleComposer | ( | ) |
Gets the tab title for Composer.
Definition at line 256 of file class.tool.consolez.php.
References $bearsamppLang, and Lang\COMPOSER.
ToolConsoleZ::getTabTitleDefault | ( | ) |
Gets the default tab title for ConsoleZ.
Definition at line 172 of file class.tool.consolez.php.
References $bearsamppLang, and Lang\CONSOLE.
ToolConsoleZ::getTabTitleGhostscript | ( | ) |
Gets the tab title for Ghostscript.
Definition at line 306 of file class.tool.consolez.php.
References $bearsamppLang, and Lang\GHOSTSCRIPT.
ToolConsoleZ::getTabTitleGit | ( | $repoPath = null | ) |
Gets the tab title for Git.
string | null | $repoPath | The repository path. |
Definition at line 232 of file class.tool.consolez.php.
References $bearsamppLang, $result, and Lang\GIT.
ToolConsoleZ::getTabTitleMariadb | ( | ) |
Gets the tab title for MariaDB.
Definition at line 211 of file class.tool.consolez.php.
References $bearsamppBins, $bearsamppLang, and Lang\MARIADB.
ToolConsoleZ::getTabTitleMysql | ( | ) |
Gets the tab title for MySQL.
Definition at line 201 of file class.tool.consolez.php.
References $bearsamppBins, $bearsamppLang, and Lang\MYSQL.
ToolConsoleZ::getTabTitleNgrok | ( | ) |
Gets the tab title for Ngrok.
Definition at line 316 of file class.tool.consolez.php.
References $bearsamppLang, and Lang\NGROK.
ToolConsoleZ::getTabTitleNodejs | ( | ) |
Gets the tab title for Node.js.
Definition at line 246 of file class.tool.consolez.php.
References $bearsamppBins, $bearsamppLang, and Lang\NODEJS.
ToolConsoleZ::getTabTitlePear | ( | ) |
Gets the tab title for PEAR.
Definition at line 191 of file class.tool.consolez.php.
References $bearsamppBins, $bearsamppLang, and Lang\PEAR.
ToolConsoleZ::getTabTitlePerl | ( | ) |
Gets the tab title for Perl.
Definition at line 296 of file class.tool.consolez.php.
References $bearsamppLang, and Lang\PERL.
ToolConsoleZ::getTabTitlePostgresql | ( | ) |
Gets the tab title for PostgreSQL.
Definition at line 221 of file class.tool.consolez.php.
References $bearsamppBins, $bearsamppLang, and Lang\POSTGRESQL.
ToolConsoleZ::getTabTitlePowershell | ( | ) |
Gets the tab title for PowerShell.
Definition at line 182 of file class.tool.consolez.php.
ToolConsoleZ::getTabTitlePython | ( | ) |
Gets the tab title for Python.
Definition at line 266 of file class.tool.consolez.php.
References $bearsamppLang, and Lang\PYTHON.
ToolConsoleZ::getTabTitleRuby | ( | ) |
Gets the tab title for Ruby.
Definition at line 276 of file class.tool.consolez.php.
References $bearsamppLang, and Lang\RUBY.
ToolConsoleZ::getTabTitleYarn | ( | ) |
Gets the tab title for Yarn.
Definition at line 286 of file class.tool.consolez.php.
References $bearsamppLang, and Lang\YARN.
ToolConsoleZ::reload | ( | $id = null, | |
$type = null ) |
Reloads the configuration for the ConsoleZ tool.
string | null | $id | The ID of the module. If null, the current ID is used. |
string | null | $type | The type of the module. If null, the current type is used. |
Reimplemented from Module.
Definition at line 49 of file class.tool.consolez.php.
References $bearsamppConfig, $bearsamppLang, Module\$id, Module\$type, Lang\CONSOLEZ, Lang\ERROR_CONF_NOT_FOUND, Lang\ERROR_EXE_NOT_FOUND, Lang\ERROR_FILE_NOT_FOUND, Lang\ERROR_INVALID_PARAMETER, LOCAL_CFG_CONF, LOCAL_CFG_EXE, LOCAL_CFG_LAUNCH_EXE, Util\logError(), Util\logInfo(), and Util\logReloadClass().
Referenced by __construct(), and setVersion().
ToolConsoleZ::setVersion | ( | $version | ) |
Sets the version of the ConsoleZ tool.
string | $version | The version to set. |
Reimplemented from Module.
Definition at line 101 of file class.tool.consolez.php.
References $bearsamppConfig, Module\$version, and reload().
|
private |
Definition at line 30 of file class.tool.consolez.php.
Referenced by getCols().
|
private |
Definition at line 28 of file class.tool.consolez.php.
Referenced by getConf().
|
private |
Definition at line 26 of file class.tool.consolez.php.
Referenced by getExe().
|
private |
Definition at line 27 of file class.tool.consolez.php.
Referenced by getLaunchExe().
|
private |
Definition at line 29 of file class.tool.consolez.php.
Referenced by getRows().
const ToolConsoleZ::LOCAL_CFG_COLS = 'consolezCols' |
Definition at line 24 of file class.tool.consolez.php.
const ToolConsoleZ::LOCAL_CFG_CONF = 'consolezConf' |
Definition at line 21 of file class.tool.consolez.php.
Referenced by reload().
const ToolConsoleZ::LOCAL_CFG_EXE = 'consolezExe' |
Definition at line 20 of file class.tool.consolez.php.
Referenced by reload().
const ToolConsoleZ::LOCAL_CFG_LAUNCH_EXE = 'consolezLaunchExe' |
Definition at line 22 of file class.tool.consolez.php.
Referenced by reload().
const ToolConsoleZ::LOCAL_CFG_ROWS = 'consolezRows' |
Definition at line 23 of file class.tool.consolez.php.
const ToolConsoleZ::ROOT_CFG_VERSION = 'consolezVersion' |
Definition at line 18 of file class.tool.consolez.php.