/**
* called when action is browse
*
- * return null
*/
public function browse() {
// add annual contribution
/**
* called when action is view
*
- * return null
+ * @return null
*/
public function view() {
$controller = new CRM_Core_Controller_Simple(
/**
* called when action is update or new
*
- * return null
+ * @return null
*/
public function edit() {
// set https for offline cc transaction
if (empty($this->_contactId)) {
$this->_contactId = civicrm_api3('contribution', 'getvalue', array(
'id' => $this->_id,
- 'return' => 'contact_id'
+ 'return' => 'contact_id',
));
}
$this->assign('contactId', $this->_contactId);
* the main function that is called when the page
* loads, it decides the which action has to be taken for the page.
*
- * return null
+ * @return null
*/
public function run() {
$this->preProcess();