X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=tools%2FCRM%2FTouchstone%2FInfo.php;h=cabab603e3cad6205d6ad6fd6b6e677b738af05b;hb=39de6fd54b9843705d13cb9f70fbcc6296103670;hp=4299c9ce81a1b6c891a28b318d15efd45b34cdc3;hpb=ac30252393b3b9d8162994f59bb63e2b89ddacdc;p=civicrm-core.git diff --git a/tools/CRM/Touchstone/Info.php b/tools/CRM/Touchstone/Info.php index 4299c9ce81..cabab603e3 100644 --- a/tools/CRM/Touchstone/Info.php +++ b/tools/CRM/Touchstone/Info.php @@ -1,7 +1,7 @@ 'CiviTouchstone', 'translatedName' => ts('CiviTouchstone'), @@ -54,11 +63,23 @@ class CRM_Touchstone_Info extends CRM_Core_Component_Info { } // docs inherited from interface + /** + * @return array + */ public function getPermissions() { return array('access CiviTouchstone'); } // docs inherited from interface + /** + * Provides information about user dashboard element + * offered by this component. + * + * @return array|null collection of required dashboard settings, + * null if no element offered + * @access public + * + */ public function getUserDashboardElement() { return array('name' => ts('Touchstone'), 'title' => ts('Your Touchstone'), @@ -68,6 +89,15 @@ class CRM_Touchstone_Info extends CRM_Core_Component_Info { } // docs inherited from interface + /** + * Provides information about user dashboard element + * offered by this component. + * + * @return array|null collection of required dashboard settings, + * null if no element offered + * @access public + * + */ public function registerTab() { return array('title' => ts('Touchstone'), 'url' => 'touchstone', @@ -76,6 +106,15 @@ class CRM_Touchstone_Info extends CRM_Core_Component_Info { } // docs inherited from interface + /** + * Provides information about advanced search pane + * offered by this component. + * + * @return array|null collection of required pane settings, + * null if no element offered + * @access public + * + */ public function registerAdvancedSearchPane() { return array('title' => ts('Touchstone'), 'weight' => 25, @@ -83,11 +122,24 @@ class CRM_Touchstone_Info extends CRM_Core_Component_Info { } // docs inherited from interface + /** + * Provides potential activity types that this + * component might want to register in activity history. + * Needs to be implemented in component's information + * class. + * + * @return array|null collection of activity types + * @access public + * + */ public function getActivityTypes() { return NULL; } // add shortcut to Create New + /** + * @param $shortCuts + */ public function creatNewShortcut(&$shortCuts) {} }