original_string: protected function _ensureRounds($reload = false)
      {
          if ((null === $this->_rounds) || $reload) {
              $rounds = $this->getTrackEngine()->getRoundModel(true, 'index')->load(array('gro_id_track'=>$this->getTrackId()));
  
              $this->_rounds = array();
              foreach($rounds as $round) {
                  $this->_rounds[$round['gro_id_round']] = $round;
              }
          }
      }
code: protected function _ensureRounds($reload = false)
      {
          if ((null === $this->_rounds) || $reload) {
              $rounds = $this->getTrackEngine()->getRoundModel(true, 'index')->load(array('gro_id_track'=>$this->getTrackId()));
  
              $this->_rounds = array();
              foreach($rounds as $round) {
                  $this->_rounds[$round['gro_id_round']] = $round;
              }
          }
      }
code_tokens: protected function _ensureRounds ( $ reload = false ) { if ( ( null === $ this -> _rounds ) || $ reload ) { $ rounds = $ this -> getTrackEngine ( ) -> getRoundModel ( true , 'index' ) -> load ( array ( 'gro_id_track' => $ this -> getTrackId ( ) ) ) ; $ this -> _rounds = array ( ) ; foreach ( $ rounds as $ round ) { $ this -> _rounds [ $ round [ 'gro_id_round' ] ] = $ round ; } } }
docstring: Makes sure the rounds info is loaded
  
  @param boolean $reload
docstring_tokens: Makes sure the rounds info is loaded