class PayPlanForm !!!1191429.php!!! __construct(inout orm : ORM, inout context : ApplicationContext) : ABMForm parent::__construct($orm, $context); $description = new TextComponent(); $description->setLabel("Descripcion") ->setMaps('description'); /*$compBotonete = new ButtonComponent(); $compBotonete->setLabel("") ->setId('id_sumb') ->setName('subm') ->setAction('submit') ->setValue("Aceptar");*/ $oLayout1 = new GridLayout(1 /*2*/, 1); $oLayout1->addComponent($description, 1, 1) /*->addComponent($compBotonete, 2, 1)*/; $this->setClass("PayPlan") ->setTitle("Tipo de Pago") ->setMethod("post") ->setId("id_form_payplan") ->setFormType(Form::FORM_OK_CANCEL) ->addComponent($oLayout1); $this->setAction($context->getCurrentAction()->getStringCommand()); return $this;