library/Garp/Browsebox.php
public function setSelect() {
        $select = $this->_options['select'];
        if (!$select) {
            $select = $this->getModel()->select();
        }
        if ($this->_options['conditions']) {
            $select->where($this->_options['conditions']);
        }       
        if ($this->_options['order']) {
            $select->order($this->_options['order']);
        }
        $this->_select = $select;
        return $this;
    }
public function setSelect() {
        $select = $this->_options['select'];
        if (!$select) {
            $select = $this->getModel()->select();
        }
        if ($this->_options['conditions']) {
            $select->where($this->_options['conditions']);
        }       
        if ($this->_options['order']) {
            $select->order($this->_options['order']);
        }
        $this->_select = $select;
        return $this;
    }
public function setSelect ( ) { $ select = $ this -> _options [ 'select' ] ; if ( ! $ select ) { $ select = $ this -> getModel ( ) -> select ( ) ; } if ( $ this -> _options [ 'conditions' ] ) { $ select -> where ( $ this -> _options [ 'conditions' ] ) ; } if ( $ this -> _options [ 'order' ] ) { $ select -> order ( $ this -> _options [ 'order' ] ) ; } $ this -> _select = $ select ; return $ this ; }
Create the Zend_Db_Select object that generates the results
@return Garp_Browsebox $this
Create the Zend_Db_Select object that generates the results