Changeset 1570860
- Timestamp:
- 01/09/2017 04:00:12 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
vrpconnector/trunk/themes/mountainsunset/functions.php
r1569951 r1570860 325 325 } 326 326 327 /** 328 * @param string $start_date Start date in series. 329 * @param int $num Number of dates in series. 330 * 331 * @return array 332 */ 327 333 function date_series( $start_date, $num ) { 328 334 $dates = []; … … 338 344 } 339 345 346 /** 347 * @param int $from Unix time start date. 348 * @param int $to Unit time end date. 349 * @param bool $round Whether or not to round to the next day. 350 * 351 * @return float 352 */ 340 353 function days_to( $from, $to, $round = true ) { 341 354 $from = strtotime( $from ); … … 350 363 * Generate HTML Calendar for unit page. 351 364 * 352 * @param $r353 * @param int $total_months365 * @param array $r Calendar array. 366 * @param int $total_months Total Months to display. 354 367 * 355 368 * @return string … … 393 406 394 407 $ret .= $calendar->output_calendar( $nextyear, $nextmonth ); 395 if ( 3 == $x ) {408 if ( 3 === $x ) { 396 409 $ret .= ''; 397 410 $x = - 1;
Note: See TracChangeset
for help on using the changeset viewer.