class ResourceForm !!!1190917.php!!! __construct(inout orm : ORM, inout context : ApplicationContext) : ABMForm parent::__construct($orm, $context); $description = new TextComponent(); $description->setLabel("Broadsoft ID") ->setMaps('description'); $field = new TextComponent(); $field->setLabel("Campo Mapea") ->setMaps('field'); /*$compBotonete = new ButtonComponent(); $compBotonete->setLabel("") ->setId('id_sumb') ->setName('subm') ->setAction('submit') ->setValue("Aceptar");*/ $oLayout1 = new GridLayout(2 /*3*/, 1); $oLayout1->addComponent($description, 1, 1) ->addComponent($field, 2, 1) /*->addComponent($compBotonete, 3, 1)*/; $this->setClass("Resource") ->setTitle("Recursos") ->setMethod("post") ->setId("id_form_resources") ->setFormType(Form::FORM_OK_CANCEL) ->addComponent($oLayout1); $this->setAction($context->getCurrentAction()->getStringCommand()); return $this;