63 $resultItems = $resultActions =
'';
79 false, get_called_class()
109 return $resultItems . PHP_EOL . $resultActions;
127 foreach (
$bearsamppBins->getMailpit()->getVersionList() as $version) {
129 self::ACTION_SWITCH_VERSION, array($version),
131 false, get_called_class()
141 return $items . $actions;
197 self::ACTION_CHANGE_PORT,
null,
199 false, get_called_class()
202 $isInstalled =
$bearsamppBins->getMailpit()->getService()->isInstalled();
217 self::ACTION_INSTALL_SERVICE,
null,
219 $isInstalled, get_called_class()
226 self::ACTION_REMOVE_SERVICE,
null,
228 !$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)
static getItemExe($caption, $exe, $glyph, $params=null)
const GLYPH_SERVICE_INSTALL
static getItemNotepad($caption, $path)
const ACTION_REMOVE_SERVICE
const ACTION_INSTALL_SERVICE
static getActionChangeMailpitPort()
static getMenuMailpitService()
static getActionInstallMailpitService()
static getActionSwitchMailpitVersion($version)
static getActionEnableMailpit($enable)
const ACTION_SWITCH_VERSION
static getMenuMailpitVersions()
static getActionRemoveMailpitService()
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)