/** * Index action */ public function indexAction() { $this->persistent->parameters = null; parent::importarSelect2(); /*=========================== Operadoras =====================================*/ $this->view->operadoras = new \Phalcon\Forms\Element\Select('operadora_yacimientoId', Yacimiento::find(array('yacimiento_habilitado=1', 'order' => 'yacimiento_destino')), array('using' => array('yacimiento_id', 'yacimiento_destino'), 'useEmpty' => true, 'emptyText' => 'SELECCIONE LAS OPERADORAS', 'emptyValue' => '', 'class' => 'form-control autocompletar', 'style' => 'width:100%')); }