class ServicePackForm !!!1192069.php!!! __construct(inout orm : ORM, inout context : ApplicationContext) : ABMForm parent::__construct($orm, $context); $description = new TextComponent(); $description->setLabel("Broadsoft ID") ->setSize('40') ->setMaps('description'); $attributeName = new TextComponent(); $attributeName->setLabel("Atributo") ->setSize('40') ->setMaps('attributeName'); $fieldName = new TextComponent(); $fieldName->setLabel("Field Name") ->setSize('40') ->setMaps('fieldName'); /*$compBotonete = new ButtonComponent(); $compBotonete->setLabel("") ->setId('id_sumb') ->setName('subm') ->setAction('submit') ->setValue("Aceptar");*/ $oLayout1 = new GridLayout(2, 2); $oLayout1->addComponent($description, 1, 1) ->addComponent($attributeName, 1, 2) ->addComponent($fieldName, 2, 1) /*->addComponent($compBotonete, 2, 1, 2, 1)*/; $this->setClass("ServicePack") ->setTitle("Service Pack") ->setMethod("post") ->setId("id_form_servicepack") ->setFormType(Form::FORM_OK_CANCEL) ->addComponent($oLayout1); $this->setAction($context->getCurrentAction()->getStringCommand()); return $this;