protected function checkService() { $ctypeInstalled = InstallUtil::checkCtype(); if ($ctypeInstalled) { $this->message = Zurmo::t('InstallModule', 'Ctype extension is loaded.'); return true; } else { $this->message = Zurmo::t('InstallModule', 'Ctype extension is not loaded.'); return false; } }
/** * Simple test to confirm the check doesnt break. */ public function testCheckCtype() { $this->assertNotNull(InstallUtil::checkCtype()); }