*
* @package CRM
* @copyright CiviCRM LLC (c) 2004-2019
- * $Id$
- *
*/
class CRM_Core_Module {
public $name;
/**
- * @var bool, TRUE if fully enabled; FALSE if module exists but is disabled
+ * Is the module enabled.
+ *
+ * @var bool
*/
public $is_active;
/**
+ * Class constructor.
+ *
* @param string $name
- * @param $is_active
+ * @param bool $is_active
*/
public function __construct($name, $is_active) {
$this->name = $name;
static $result;
if ($fresh || !is_array($result)) {
$result = CRM_Extension_System::singleton()->getMapper()->getModules();
- $result[] = new CRM_Core_Module('civicrm', TRUE); // pseudo-module for core
+ // pseudo-module for core
+ $result[] = new CRM_Core_Module('civicrm', TRUE);
$config = CRM_Core_Config::singleton();
$result = array_merge($result, $config->userSystem->getModules());