*
* @return array
*/
- public function &campaignActionLinks() {
+ public static function campaignActionLinks() {
// check if variable _actionsLinks is populated
if (!isset(self::$_campaignActionLinks)) {
- $deleteExtra = ts('Are you sure you want to delete this Campaign?');
self::$_campaignActionLinks = array(
CRM_Core_Action::UPDATE => array(
'name' => ts('Edit'),
/**
* @return array
*/
- public function &surveyActionLinks() {
+ public static function surveyActionLinks() {
// check if variable _actionsLinks is populated
if (!isset(self::$_surveyActionLinks)) {
self::$_surveyActionLinks = array(
/**
* @return array
*/
- public function &petitionActionLinks() {
+ public static function petitionActionLinks() {
if (!isset(self::$_petitionActionLinks)) {
self::$_petitionActionLinks = self::surveyActionLinks();
self::$_petitionActionLinks[CRM_Core_Action::UPDATE] = array(
*
* @return array
*/
- public function getSurveySummary($params = array()) {
+ public static function getSurveySummary($params = array()) {
$surveysData = array();
//get the survey.
*
* @return array
*/
- public function getPetitionSummary($params = array()) {
+ public static function getPetitionSummary($params = array()) {
$config = CRM_Core_Config::singleton();
$petitionsData = array();