✏️ 正在编辑: TabelaAlterarSelecionados.php
路径:
/srv/systems_dir/yuppiecred-lidernegocios/application/forms/TabelaAlterarSelecionados.php
提示:
您可以编辑任何文件(包括二进制文件),但请注意不当修改可能导致文件损坏。
<?php class Form_TabelaAlterarSelecionados extends Core_Form { public function init() { $this->setAction($this->getView()->url(['controller' => 'tabela', 'action' => 'associar-tabela-pai'])); $select = new Zend_Form_Element_Select('banco_setar_par'); $select->setLabel('Banco:') ->addMultiOptions(Core_Combos::getBancosOptions()) ->addDecorator('Label', array( 'tag' => 'dt', 'tagClass' => 'clear' )); $this->addElement($select); $select = new Zend_Form_Element_Select('convenio_setar_par'); $select->setLabel('Convênio:') ->addMultiOptions(Core_Combos::getConveniosOptions()) ->setAttrib('class', 'comboautocomplete') ->setAttrib('onchange', "populateComboTabelas('convenio_setar_par', 'parent_id', 'banco_setar_par')") ->addDecorator('Label', array( 'tag' => 'dt', 'tagClass' => 'clear' )); $this->addElement($select); $select = new Zend_Form_Element_Select('parent_id'); $select->setLabel('Tabela:') ->setAttrib('class', 'comboautocomplete') ->setRegisterInArrayValidator(false) ->addDecorator('Label', array( 'tag' => 'dt', 'tagClass' => 'clear' )); $this->addElement($select); $select = new Zend_Form_Element_Select('formalizacao'); $select->setLabel('Tipo Formalização:') ->addMultiOptions([ '' => '', '-1' => 'Físico', '1' => 'Digital', ]) ->addDecorator('Label', array( 'tag' => 'dt', 'tagClass' => 'clear' )); $this->addElement($select); $this->addElement('hidden', 'tabelas'); $this->addElement('submit', 'btn_save', array( 'label' => 'Associar', 'class' => 'bt_apply' )); } }
💾 保存文件
← 返回文件管理器