public function getRows(Gpf_Rpc_Params $params) { $request = new Gpf_Rpc_GridRequest($this->getClassName(), 'getRows'); $request->setUrl($this->getUrl()); $request->setParams($params); $request->sendNow(); return $request->getResponseObject(); }
public function __construct(Gpf_Api_Session $session) { if($session->getRoleType() == Gpf_Api_Session::AFFILIATE) { throw new Exception("This class can be used only by merchant!"); } else { parent::__construct("Pap_Merchants_Banner_BannersGrid", "getRows", $session); } }
public function __construct(Gpf_Api_Session $session) { if($session->getRoleType() == Gpf_Api_Session::AFFILIATE) { $className = "Pap_Affiliates_Reports_TransactionsGrid"; } else { $className = "Pap_Merchants_Transaction_TransactionsGrid"; } parent::__construct($className, "getRows", $session); }
public function __construct(Gpf_Api_Session $session) { if($session->getRoleType() == Gpf_Api_Session::AFFILIATE) { throw new Gpf_Exception('Only merchant can view payouts grid. Please login as merchant.'); } $className = 'Pap_Merchants_Payout_PayAffiliatesGrid'; parent::__construct($className, 'getRows', $session); }
public function __construct(Gpf_Api_Session $session) { if ($session->getRoleType() == Gpf_Api_Session::AFFILIATE) { throw new Gpf_Exception('Only merchant can view payouts history. Please login as merchant.'); } parent::__construct('Pap_Merchants_Payout_PayoutsHistoryGrid', 'getRows', $session); }