3 +--------------------------------------------------------------------+
4 | Copyright CiviCRM LLC. All rights reserved. |
6 | This work is published under the GNU AGPLv3 license with some |
7 | permitted exceptions and without any warranty. For full license |
8 | and copyright information, see https://civicrm.org/licensing |
9 +--------------------------------------------------------------------+
15 * @copyright CiviCRM LLC https://civicrm.org/licensing
17 class CRM_Contribute_Page_SubscriptionStatus
extends CRM_Core_Page
{
20 * the main function that is called when the page loads,
21 * it decides the which action has to be taken for the page.
25 public function run() {
26 $task = CRM_Utils_Request
::retrieve('task', 'String');
27 $result = CRM_Utils_Request
::retrieve('result', 'Integer');
29 $this->assign('task', $task);
30 $this->assign('result', $result);
32 if ($task == 'billing') {
33 $session = CRM_Core_Session
::singleton();
34 $tplParams = $session->get('resultParams');
35 foreach ($tplParams as $key => $val) {
36 $this->assign($key, $val);