示例#1
0
 public function getOperadorProdutor()
 {
     $TB_OPERADOR = new Application_Model_DbTable_Operador();
     return $TB_OPERADOR->getAdapter()->fetchPairs($TB_OPERADOR->select()->from('TB_OPERADOR', array('ID_OPERADOR', 'nome'))->where('fk_perfil =2')->order('nome'));
 }