Inheritance: extends Gpf_Object
コード例 #1
0
 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 {
         $this->class = "Pap_Merchants_Transaction_TransactionsForm";
     }
      
     parent::__construct($session);
 }
コード例 #2
0
 public function __construct(Gpf_Api_Session $session) {
     parent::__construct($session);
     $this->class = 'Pap_Features_RecurringCommissions_RecurringCommissionsForm';
 }
コード例 #3
0
 protected function fillFieldsToGridRequest($request) {
     foreach(parent::getFields() as $field) {
         if($field->get(self::FIELD_VALUE) != '') {
             $operator = self::OPERATOR_LIKE;
             if (in_array($field->get(self::FIELD_NAME), $this->getEqualFields())) {
                 $operator = self::OPERATOR_EQUALS;
             }
             $request->addFilter($field->get(self::FIELD_NAME), $operator, $field->get(self::FIELD_VALUE));
         }
     }
 }