source/Application/Model/SelectList.php
public function getActiveSelection()
    {
        if ($this->_oActiveSelection === null) {
            if (($aSelections = $this->getSelections())) {
                // first is allways active
                $this->_oActiveSelection = reset($aSelections);
            }
        }

        return $this->_oActiveSelection;
    }
public function getActiveSelection()
    {
        if ($this->_oActiveSelection === null) {
            if (($aSelections = $this->getSelections())) {
                // first is allways active
                $this->_oActiveSelection = reset($aSelections);
            }
        }

        return $this->_oActiveSelection;
    }
public function getActiveSelection ( ) { if ( $ this -> _oActiveSelection === null ) { if ( ( $ aSelections = $ this -> getSelections ( ) ) ) { // first is allways active $ this -> _oActiveSelection = reset ( $ aSelections ) ; } } return $ this -> _oActiveSelection ; }
Returns active selection object

@return oxSelection
Returns active selection object