protected function _ensureRounds()
    {
        if (! is_array($this->_rounds)) {
            $roundSelect = $this->db->select();
            $roundSelect->from('gems__rounds')
                ->where('gro_id_track = ?', $this->_trackId)
                ->order('gro_id_order');

            // \MUtil_Echo::r((string) $roundSelect);

            $this->_rounds  = array();
            foreach ($roundSelect->query()->fetchAll() as $round) {
                $this->_rounds[$round['gro_id_round']] = $round;
            }
        }
    }
protected function _ensureRounds()
    {
        if (! is_array($this->_rounds)) {
            $roundSelect = $this->db->select();
            $roundSelect->from('gems__rounds')
                ->where('gro_id_track = ?', $this->_trackId)
                ->order('gro_id_order');

            // \MUtil_Echo::r((string) $roundSelect);

            $this->_rounds  = array();
            foreach ($roundSelect->query()->fetchAll() as $round) {
                $this->_rounds[$round['gro_id_round']] = $round;
            }
        }
    }
protected function _ensureRounds ( ) { if ( ! is_array ( $ this -> _rounds ) ) { $ roundSelect = $ this -> db -> select ( ) ; $ roundSelect -> from ( 'gems__rounds' ) -> where ( 'gro_id_track = ?' , $ this -> _trackId ) -> order ( 'gro_id_order' ) ; // \MUtil_Echo::r((string) $roundSelect); $ this -> _rounds = array ( ) ; foreach ( $ roundSelect -> query ( ) -> fetchAll ( ) as $ round ) { $ this -> _rounds [ $ round [ 'gro_id_round' ] ] = $ round ; } } }
Loads the rounds data for this type of track engine.

Can be overruled by sub classes.
Loads the rounds data for this type of track engine .