本文整理汇总了PHP中Usuarios::responsablecomercial方法的典型用法代码示例。如果您正苦于以下问题:PHP Usuarios::responsablecomercial方法的具体用法?PHP Usuarios::responsablecomercial怎么用?PHP Usuarios::responsablecomercial使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Usuarios
的用法示例。
在下文中一共展示了Usuarios::responsablecomercial方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: indexAction
public function indexAction()
{
$this->assets->addCss('/jqwidgets/styles/jqx.base.css')->addCss('/jqwidgets/styles/jqx.custom.css')->addCss('/js/fileinput/css/fileinput.min.css');
$this->assets->addJs('/jqwidgets/jqxcore.js')->addJs('/jqwidgets/jqxmenu.js')->addJs('/jqwidgets/jqxdropdownlist.js')->addJs('/jqwidgets/jqxlistbox.js')->addJs('/jqwidgets/jqxcheckbox.js')->addJs('/jqwidgets/jqxscrollbar.js')->addJs('/jqwidgets/jqxgrid.js')->addJs('/jqwidgets/jqxdata.js')->addJs('/jqwidgets/jqxgrid.sort.js')->addJs('/jqwidgets/jqxgrid.pager.js')->addJs('/jqwidgets/jqxgrid.filter.js')->addJs('/jqwidgets/jqxgrid.selection.js')->addJs('/jqwidgets/jqxgrid.grouping.js')->addJs('/jqwidgets/jqxgrid.columnsreorder.js')->addJs('/jqwidgets/jqxgrid.columnsresize.js')->addJs('/jqwidgets/jqxdatetimeinput.js')->addJs('/jqwidgets/jqxcalendar.js')->addJs('/jqwidgets/jqxbuttons.js')->addJs('/jqwidgets/jqxdata.export.js')->addJs('/jqwidgets/jqxgrid.export.js')->addJs('/jqwidgets/globalization/globalize.js')->addJs('/jqwidgets/jqxgrid.aggregates.js')->addJs('/media/plugins/bootbox/bootbox.min.js')->addJs('/media/plugins/form-validation/jquery.validate.min.js')->addJs('/media/plugins/form-stepy/jquery.stepy.js')->addJs('/media/demo/demo-formwizard.js')->addJs('/scripts/clientes/index.js')->addJs('/assets/js/plugins.js')->addJs('/assets/js/pages/formsValidation.js')->addJs('/js/fileinput/js/fileinput.min.js');
$empresa = Empresas::findFirst(array('baja_logica=1'));
$this->view->setVar('empresa', $empresa);
//$model = usuarios::find(array('habilitado=1 and nivel=3',"order"=>"paterno ASC"));
$model = new Usuarios();
$resul = $model->responsablecomercial();
$responsable = $this->tag->select(array('responsable_id', $resul, 'using' => array('id', 'nombres'), 'useEmpty' => true, 'emptyText' => '(Selecionar)', 'emptyValue' => '', 'class' => 'form-control', 'required' => 'required'));
$this->view->setVar('responsable', $responsable);
}
示例2: indexAction
public function indexAction()
{
$this->assets->addCss('/jqwidgets/styles/jqx.base.css')->addCss('/jqwidgets/styles/jqx.custom.css')->addCss('/assets/css/plugins.css');
$this->assets->addJs('/jqwidgets/jqxcore.js')->addJs('/jqwidgets/jqxmenu.js')->addJs('/jqwidgets/jqxdropdownlist.js')->addJs('/jqwidgets/jqxlistbox.js')->addJs('/jqwidgets/jqxcheckbox.js')->addJs('/jqwidgets/jqxscrollbar.js')->addJs('/jqwidgets/jqxgrid.js')->addJs('/jqwidgets/jqxdata.js')->addJs('/jqwidgets/jqxgrid.sort.js')->addJs('/jqwidgets/jqxgrid.pager.js')->addJs('/jqwidgets/jqxgrid.filter.js')->addJs('/jqwidgets/jqxgrid.selection.js')->addJs('/jqwidgets/jqxgrid.grouping.js')->addJs('/jqwidgets/jqxgrid.columnsreorder.js')->addJs('/jqwidgets/jqxgrid.columnsresize.js')->addJs('/jqwidgets/jqxdatetimeinput.js')->addJs('/jqwidgets/jqxcalendar.js')->addJs('/jqwidgets/jqxbuttons.js')->addJs('/jqwidgets/jqxdata.export.js')->addJs('/jqwidgets/jqxgrid.export.js')->addJs('/jqwidgets/globalization/globalize.js')->addJs('/jqwidgets/jqxgrid.aggregates.js')->addJs('/media/plugins/bootbox/bootbox.min.js')->addJs('/jqwidgets/jqxtooltip.js')->addJs('/assets/js/app.js')->addJs('/assets/js/plugins.js')->addJs('/scripts/solicitudes/index.js');
$model = new Usuarios();
$resul = $model->responsablecomercial();
$responsable = $this->tag->select(array('responsable_id', $resul, 'using' => array('id', 'nombres'), 'useEmpty' => true, 'emptyText' => '(Selecionar)', 'emptyValue' => '', 'class' => 'form-control', 'required' => 'required'));
$this->view->setVar('responsable', $responsable);
$resul = Clientes::find(array('baja_logica=1', 'order' => 'razon_social ASC'));
$clientes = $this->tag->select(array('cliente_id', $resul, 'using' => array('id', 'razon_social'), 'useEmpty' => true, 'emptyText' => '(Selecionar)', 'emptyValue' => '', 'class' => 'form-control select-chosen', 'required' => 'required'));
$this->view->setVar('clientes', $clientes);
$resul = Parametros::find(array('parametro="solicitudes_estados" AND baja_logica=1 AND nivel>1', 'order' => 'nivel ASC'));
$estado = $this->tag->select(array('estado', $resul, 'using' => array('nivel', 'valor_1'), 'useEmpty' => true, 'emptyText' => '(Selecionar)', 'emptyValue' => '', 'class' => 'form-control', 'required' => 'required'));
$this->view->setVar('estado', $estado);
}