56 $resultItems = $resultActions =
'';
72 false, get_called_class()
94 return $resultItems . PHP_EOL . $resultActions;
112 foreach (
$bearsamppBins->getXlight()->getVersionList() as $version) {
114 self::ACTION_SWITCH_VERSION, array($version),
116 false, get_called_class()
126 return $items . $actions;
182 self::ACTION_CHANGE_PORT,
null,
184 false, get_called_class()
187 $isInstalled =
$bearsamppBins->getXlight()->getService()->isInstalled();
202 self::ACTION_INSTALL_SERVICE,
null,
204 $isInstalled, get_called_class()
211 self::ACTION_REMOVE_SERVICE,
null,
213 !$isInstalled, get_called_class()
const MENU_INSTALL_SERVICE
const MENU_UPDATE_ENV_PATH
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 getMenuXlightVersions()
static getActionSwitchXlightVersion($version)
static getActionRemoveXlightService()
const ACTION_INSTALL_SERVICE
const ACTION_SWITCH_VERSION
static getActionChangeXlightPort()
const ACTION_REMOVE_SERVICE
static getActionInstallXlightService()
static getActionEnableXlight($enable)
static getMenuXlightService()
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 getWebsiteUrl($path='', $fragment='', $utmSource=true)