setPrimaryKey((int) $restParams[1]); return $this->isValidPage(); } return false; } public function isValidPage() { $session = new Qs_Session_Namespace(App_ECommerce_Order_Admin_Payment_View::PAYMENT_SESSION_NAME); return !empty($session->{$this->getPrimaryKey()}); } public function cancelTransaction() { return $this; } }