<?php
/*
+--------------------------------------------------------------------+
- | CiviCRM version 4.5 |
+ | CiviCRM version 4.6 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2014 |
+--------------------------------------------------------------------+
public $_contactId = NULL;
public $_crid = NULL;
- //end of function
-
/**
* This method returns the links that are given for recur search row.
* currently the links added for each row are:
* @param string $context
*
* @return array
- * @access public
*/
- static function &recurLinks($recurID = FALSE, $context = 'contribution') {
+ public static function &recurLinks($recurID = FALSE, $context = 'contribution') {
if (!(self::$_links)) {
self::$_links = array(
CRM_Core_Action::VIEW => array(
* This function is called when action is browse
*
* return null
- * @access public
*/
- function browse() {
+ public function browse() {
// add annual contribution
$annual = array();
list($annual['count'],
* This function is called when action is view
*
* return null
- * @access public
*/
- function view() {
+ public function view() {
$controller = new CRM_Core_Controller_Simple(
'CRM_Contribute_Form_ContributionView',
ts('View Contribution'),
* This function is called when action is update or new
*
* return null
- * @access public
*/
- function edit() {
+ public function edit() {
// set https for offline cc transaction
$mode = CRM_Utils_Request::retrieve('mode', 'String', $this);
if ($mode == 'test' || $mode == 'live') {
return $controller->run();
}
- function preProcess() {
+ public function preProcess() {
$context = CRM_Utils_Request::retrieve('context', 'String', $this);
$this->_action = CRM_Utils_Request::retrieve('action', 'String', $this, FALSE, 'browse');
$this->_id = CRM_Utils_Request::retrieve('id', 'Positive', $this);
* loads, it decides the which action has to be taken for the page.
*
* return null
- * @access public
*/
- function run() {
+ public function run() {
$this->preProcess();
// check if we can process credit card contribs
return parent::run();
}
- function setContext() {
+ public function setContext() {
$qfKey = CRM_Utils_Request::retrieve('key', 'String', $this);
$context = CRM_Utils_Request::retrieve('context', 'String',
$this, FALSE, 'search'
$session->pushUserContext($url);
}
}
-