✏️ 正在编辑: CorretorTermosResponsabilidade.php
路径:
/srv/systems_dir/yuppiecred-lidernegocios/application/forms/CorretorTermosResponsabilidade.php
提示:
您可以编辑任何文件(包括二进制文件),但请注意不当修改可能导致文件损坏。
<?php class Form_CorretorTermosResponsabilidade extends Core_Form { protected $empresaId; public function __construct($empresaId = null) { $this->empresaId = $empresaId; $this->init(); } public function init() { $this->setName('sub_form_enviar_termos'); $this->addElement('hidden', 'corretor_id', ['class' => 'invisivel']); $this->addElement('select', 'termo_id', [ 'label' => 'Termo:', 'required' => true, 'style' => 'width: 300px', 'multiOptions' => Core_Combos::getTermosResponsabilidadeOptions() ]); $this->addElement('button', 'send_termo', [ 'label' => 'Enviar Termo', 'class' => 'bt_apply' ]); $this->addDisplayGroup([ 'corretor_id', 'termo_id', 'send_termo' ], 'subform', ['legend' => 'Enviar Documento']); $this->_setDefaultDecorators(); } protected function _setDefaultDecorators() { $this->setDecorators( [ 'FormElements', ['HtmlTag', ['tag' => 'dl', 'class' => 'sub_form2']], 'Form' ]); } }
💾 保存文件
← 返回文件管理器