original_string: public function calendarUrlArray(array $url, ChronosInterface $dateTime) {
  		$year = $this->retrieveYearFromDate($dateTime);
  		$month = $this->retrieveMonthFromDate($dateTime);
  
  		$currentYear = (int)date('Y');
  		$currentMonth = (int)date('n');
  
  		if ($year === (int)$currentYear && $month === (int)$currentMonth) {
  			return $url;
  		}
  
  		$url[] = $year;
  		$url[] = $this->formatMonth($month);
  
  		return $url;
  	}
code: public function calendarUrlArray(array $url, ChronosInterface $dateTime) {
  		$year = $this->retrieveYearFromDate($dateTime);
  		$month = $this->retrieveMonthFromDate($dateTime);
  
  		$currentYear = (int)date('Y');
  		$currentMonth = (int)date('n');
  
  		if ($year === (int)$currentYear && $month === (int)$currentMonth) {
  			return $url;
  		}
  
  		$url[] = $year;
  		$url[] = $this->formatMonth($month);
  
  		return $url;
  	}
code_tokens: public function calendarUrlArray ( array $ url , ChronosInterface $ dateTime ) { $ year = $ this -> retrieveYearFromDate ( $ dateTime ) ; $ month = $ this -> retrieveMonthFromDate ( $ dateTime ) ; $ currentYear = ( int ) date ( 'Y' ) ; $ currentMonth = ( int ) date ( 'n' ) ; if ( $ year === ( int ) $ currentYear && $ month === ( int ) $ currentMonth ) { return $ url ; } $ url [ ] = $ year ; $ url [ ] = $ this -> formatMonth ( $ month ) ; return $ url ; }
docstring: Generates a link back to the calendar from any view page.
  
  Specify action and if necessary controller, plugin, and prefix.
  
  @param array $url
  @param \Cake\Chronos\ChronosInterface $dateTime
  @return array
docstring_tokens: Generates a link back to the calendar from any view page .