65 $resultItems = $resultActions =
'';
81 false, get_called_class()
132 return $resultItems . PHP_EOL . $resultActions;
148 foreach (
$bearsamppBins->getApache()->getVersionList() as $version) {
150 $apachePhpModule =
$bearsamppBins->getPhp()->getApacheModule($version);
151 if ($apachePhpModule ===
false) {
153 } elseif ($version ==
$bearsamppBins->getApache()->getVersion()) {
158 self::ACTION_SWITCH_VERSION, array($version),
159 array($version, $glyph),
160 false, get_called_class()
170 return $items . $actions;
218 self::ACTION_CHANGE_PORT,
null,
220 false, get_called_class()
238 $isInstalled =
$bearsamppBins->getApache()->getService()->isInstalled();
241 self::ACTION_INSTALL_SERVICE,
null,
243 $isInstalled, get_called_class()
250 self::ACTION_REMOVE_SERVICE,
null,
252 !$isInstalled, get_called_class()
355 foreach (
$bearsamppBins->getApache()->getModulesFromConf() as $module => $switch) {
357 self::ACTION_SWITCH_MODULE, array($module, $switch),
359 false, get_called_class()
369 return $items . $actions;
399 self::ACTION_ADD_ALIAS,
null,
401 false, get_called_class()
413 self::ACTION_EDIT_ALIAS, array($alias),
415 false, get_called_class()
425 return $items . $actions;
464 self::ACTION_ADD_VHOST,
null,
466 false, get_called_class()
478 self::ACTION_EDIT_VHOST, array($vhost),
480 false, get_called_class()
490 return $items . $actions;
const SWITCH_APACHE_MODULE
const CMD_VHOSTS_SETTINGS
const CMD_CONFIG_DIRECTIVES
const CMD_COMPILE_SETTINGS
const CMD_COMPILED_MODULES
const DEBUG_APACHE_CONFIG_DIRECTIVES
const MENU_INSTALL_SERVICE
const DEBUG_APACHE_COMPILE_SETTINGS
const DEBUG_APACHE_COMPILED_MODULES
const DEBUG_APACHE_VHOSTS_SETTINGS
const DEBUG_APACHE_SYNTAX_CHECK
const MENU_UPDATE_ENV_PATH
const DEBUG_APACHE_VERSION_NUMBER
const DEBUG_APACHE_LOADED_MODULES
const MENU_REMOVE_SERVICE
const GLYPH_SERVICE_REMOVE
static getItemActionServiceStop($service)
static getItemSeparator()
static getItemActionServiceStart($service)
static getItemActionServiceRestart($service)
static getItemLink($caption, $link, $local=false, $glyph=self::GLYPH_WEB_PAGE)
const GLYPH_SERVICE_INSTALL
static getItemNotepad($caption, $path)
static getActionEditAlias($alias)
const ACTION_REMOVE_SERVICE
static getMenuApacheAlias()
static getActionSwitchApacheModule($module, $switch)
static getMenuApacheDebug()
static getMenuApacheVhosts()
static getMenuApacheService()
static getActionAddAlias()
static getActionEditVhost($vhost)
static getActionInstallApacheService()
static getActionChangeApachePort()
const ACTION_SWITCH_MODULE
static getMenuApacheVersions()
static getActionEnableApache($enable)
static getMenuApacheModules()
static getActionRemoveApacheService()
const ACTION_SWITCH_VERSION
static getActionSwitchApacheVersion($version)
const ACTION_INSTALL_SERVICE
static getActionAddVhost()
static getActionMulti($action, $args=array(), $item=array(), $disabled=false, $class=false)
static getMenuEnable($caption, $menu, $class, $enabled=true)
static getActionRun($action, $args=array(), $item=array(), $waitUntilTerminated=true)
static getMenu($caption, $menu, $class)
static getActionRestart($sName)
static getWebsiteUrl($path='', $fragment='', $utmSource=true)