✏️ 正在编辑: CallcenterMsgUra.php
路径:
/srv/systems_dir/yuppiecred/application/forms/CallcenterMsgUra.php
提示:
您可以编辑任何文件(包括二进制文件),但请注意不当修改可能导致文件损坏。
<?php class Form_CallcenterMsgUra extends Core_Form { public function init() { $this->setName('f_save_callcenter_msg_ura'); $this->setAction($this->getView()->url(['controller' => 'callcenter-campanha', 'action' => 'save-mensagem-opcao-ura'], null, true)); $this->addElement('hidden', 'id', [ 'class' => 'invisivel' ]); $opcoes = ['' => ''] + Core_Combos::getOpcoesUra(); $this->addElement('select', 'opcao', [ 'label' => 'Opção Ura:', 'multiOptions' => $opcoes, 'required' => true ]); $opcoes = ['' => ''] + Core_Combos::getDepartamentosDigisac(); $this->addElement('select', 'departamento', [ 'label' => 'Departamento:', 'multiOptions' => $opcoes, 'required' => true ]); $this->addElement('textarea', 'mensagem', [ 'label' => 'Mensagem:', 'required' => true, 'rows' => 4, 'cols' => 40, 'description' => 'Use as tags [NOME_CLIENTE] e/ou [CPF] nas mensagens.' ]); $this->addElement('hidden', 'campanha_id', [ 'class' => 'invisivel' ]); $this->_initButtons(); } protected function _initButtons() { $this->addElement('submit', 'btn_save', [ 'label' => 'Salvar', 'class' => 'bt_save' ]); $this->addDisplayGroup(array( 'btn_back', 'btn_save', 'btn_new' ), 'buttons'); } }
💾 保存文件
← 返回文件管理器