'CiviTouchstone', 'translatedName' => ts('CiviTouchstone'), 'title' => ts('CiviCRM Touchstone Component'), 'search' => 1, ); } // 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'), 'perm' => array('access CiviTouchstone'), 'weight' => 85, ); } // 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', 'weight' => 25, ); } // 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, ); } // 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) {} }