private function setupDefaultFormFields() {
        $affiliateForm = new Pap_Merchants_Config_AffiliateFormDefinition($this->account->getId());
        $affiliateForm->check();

        $merchantForm = new Pap_Merchants_Config_MerchantFormDefinition($this->account->getId());
        $merchantForm->check();
    }
Exemplo n.º 2
0
 /**
  * Loads list of fields for merchant dynamic form panel
  *
  * @anonym
  * @service
  */
 public function getFields(Gpf_Rpc_Params $params) {
     $merchantForm = new Pap_Merchants_Config_MerchantFormDefinition();
     $merchantForm->check();
     
     $formFields = Gpf_Db_Table_FormFields::getInstance();
     return $formFields->getFields($params);
 }