✏️ 正在编辑: GrupoUsuario.php
路径:
/srv/systems_dir/oakberry/application/forms/Filtro/GrupoUsuario.php
提示:
您可以编辑任何文件(包括二进制文件),但请注意不当修改可能导致文件损坏。
<?php class Form_Filtro_GrupoUsuario extends Yuppie_Form_Filtro { public function init() { $this->dbtable = Model_Container::getGrupoUsuario(); $this->addElement('text', 'nome', array( 'label' => 'Nome:', 'size' => 40 )); $this->_initButtons(); } protected function _getWhere() { $fields = $this->getValues(); $where = null; if ($fields['nome']) { $where['nome LIKE ?'] = "%{$fields['nome']}%"; } return $where; } }
💾 保存文件
← 返回文件管理器