class RecepcionistTypeForm !!!1191941.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'); /*$compBotonete = new ButtonComponent(); $compBotonete->setLabel("") ->setId('id_sumb') ->setName('subm') ->setAction('submit') ->setValue("Aceptar");*/ $oLayout1 = new GridLayout(1 /*2*/, 2); $oLayout1->addComponent($description, 1, 1) ->addComponent($attributeName, 1, 2) /*->addComponent($compBotonete, 2, 1, 2, 1)*/; $this->setClass("RecepcionistType") ->setTitle("Tipo de Recepcionista") ->setMethod("post") ->setId("id_form_recepcionistType") ->setFormType(Form::FORM_OK_CANCEL) ->addComponent($oLayout1); $this->setAction($context->getCurrentAction()->getStringCommand()); return $this;