class LineTypeForm !!!1191813.php!!! __construct(inout orm : ORM, inout context : ApplicationContext) : ABMForm parent::__construct($orm, $context); $description = new TextComponent(); $description->setLabel("Tipo de Linea") ->setMaps('description') ->setSize("40"); /*$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("LineType") ->setTitle("Tipo de Linea") ->setFormType(Form::FORM_OK_CANCEL) ->setMethod("post") ->setId("id_form_lineType") ->addComponent($oLayout1); $this->setAction($context->getCurrentAction()->getStringCommand()); return $this;