view( $action ); } elseif ( $action & ( CRM_Core_Action::STOP) ) { $this->stop( $action ); } elseif ( $action & ( CRM_Core_Action::REPRINT ) ) { $this->reprint( $action ); } else { $this->withdraw( $action ); } $this->assign('action', $action); return parent::run( ); } function view( $action ) { $controller = new CRM_Core_Controller_Simple( 'CRM_Grant_Form_Payment_View', ts(''), $action ); $controller->setEmbedded( true ); $result = $controller->process(); $result = $controller->run(); } function stop( $action ) { $controller = new CRM_Core_Controller_Simple( 'CRM_Grant_Form_Payment_View', ts(''), $action ); $controller->setEmbedded( true ); $result = $controller->process(); $result = $controller->run(); } function reprint( $action ) { $controller = new CRM_Core_Controller_Simple( 'CRM_Grant_Form_Payment_View', ts(''), $action ); $controller->setEmbedded( true ); $result = $controller->process(); $result = $controller->run(); } function withdraw( $action ) { $controller = new CRM_Core_Controller_Simple( 'CRM_Grant_Form_Payment_View', ts(''), $action ); $controller->setEmbedded( true ); $result = $controller->process(); $result = $controller->run(); } }