function start() { $services = new services(); if (($startService = $services->start($_REQUEST['service'])) != "") { $this->setFlash('success', 'Service ' . $_REQUEST['service'] . ' ' . $startService); } else { $this->setFlash('danger', 'Service ' . $_REQUEST['service'] . ' dont started!'); } $this->show(); }