<?php
/*
+--------------------------------------------------------------------+
- | CiviCRM version 4.6 |
+ | CiviCRM version 4.7 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2014 |
+ | Copyright CiviCRM LLC (c) 2004-2015 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
* for a component to introduce itself to the system.
*
* @package CRM
- * @copyright CiviCRM LLC (c) 2004-2014
+ * @copyright CiviCRM LLC (c) 2004-2015
* $Id$
*
*/
*/
const COMPONENT_INVOKE_CLASS = 'Invoke';
- /**
- * Name of the class (minus component namespace path)
- * of the component configuration class'es name.
- */
- const COMPONENT_CONFIG_CLASS = 'Config';
-
/**
* Name of the class (minus component namespace path)
* of the component BAO Query class'es name.
public $info;
/**
- * Stores component keyword
+ * Stores component keyword.
* @var string name of component keyword
*/
protected $keyword;
abstract public function getInfo();
/**
- * Get a list of entities to register via API
+ * Get a list of entities to register via API.
*
* @return array
* list of entities; same format as CRM_Utils_Hook::managedEntities(&$entities)
}
/**
- * Provides permissions that are unwise for Anonymous Roles to have
+ * Provides permissions that are unwise for Anonymous Roles to have.
*
* @return array
* list of permissions
abstract public function getPermissions($getAllUnconditionally = FALSE);
/**
- * Determine how many other records refer to a given record
+ * Determine how many other records refer to a given record.
*
* @param CRM_Core_DAO $dao
* The item for which we want a reference count.
}
/**
- * Provides information about user dashboard element
+ * Provides information about user dashboard element.
* offered by this component.
*
* @return array|null
abstract public function getUserDashboardElement();
/**
- * Provides information about user dashboard element
+ * Provides information about user dashboard element.
* offered by this component.
*
* @return array|null
return FALSE;
}
- /**
- * Provides component's configuration object.
- *
- * @return mixed
- * component's configuration object
- */
- public function getConfigObject() {
- return $this->_instantiate(self::COMPONENT_CONFIG_CLASS);
- }
-
/**
* Provides component's menu definition object.
*
}
/**
- * Provides the xml menu files
+ * Provides the xml menu files.
*
* @return array
* array of menu files