original_string: 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;
              }
          }
      }
code: 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;
              }
          }
      }
code_tokens: 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 ; } } }
docstring: Loads the rounds data for this type of track engine.
  
  Can be overruled by sub classes.
docstring_tokens: Loads the rounds data for this type of track engine .