<?php
/*
+--------------------------------------------------------------------+
- | CiviCRM version 4.4 |
+ | CiviCRM version 4.5 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013 |
+ | Copyright CiviCRM LLC (c) 2004-2014 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
* a Joomla Plugin.
*
* @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
+ * @copyright CiviCRM LLC (c) 2004-2014
* $Id$
*
*/
*/
public $is_active;
+ /**
+ * @param string $name
+ * @param $is_active
+ */
public function __construct($name, $is_active) {
$this->name = $name;
$this->is_active = $is_active;
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
$config = CRM_Core_Config::singleton();
if (is_callable(array($config->userSystem, 'getModules'))) {