You are here

function cmfcCalendarV1Arabic::makeTime in Calendar Systems 7

Same name and namespace in other branches
  1. 8 calendar/v1/calendarSystems/arabic.class.inc.php \cmfcCalendarV1Arabic::makeTime()
  2. 8.2 calendar/v1/calendarSystems/arabic.class.inc.php \cmfcCalendarV1Arabic::makeTime()
  3. 6.3 calendar/v1/calendarSystems/arabic.class.inc.php \cmfcCalendarV1Arabic::makeTime()
  4. 6 calendar/v1/calendarSystems/arabic.class.inc.php \cmfcCalendarV1Arabic::makeTime()
  5. 7.3 calendar/v1/calendarSystems/arabic.class.inc.php \cmfcCalendarV1Arabic::makeTime()
  6. 7.2 calendar/v1/calendarSystems/arabic.class.inc.php \cmfcCalendarV1Arabic::makeTime()

Parameters

$hour:

$minute:

$second:

$jmonth:

$jday:

$jyear:

Return value

unknown_type

Overrides cmfcCalendarV1Plugin::makeTime

File

calendar/v1/calendarSystems/arabic.class.inc.php, line 659

Class

cmfcCalendarV1Arabic

Code

function makeTime($hour = "", $minute = "", $second = "", $jmonth = "", $jday = "", $jyear = "") {
  if (!$hour && !$minute && !$second && !$jmonth && !$jmonth && !$jday && !$jyear) {
    return $this
      ->phpTime();
  }
  list($year, $month, $day) = $this
    ->toGregorian($jyear, $jmonth, $jday);
  $i = parent::mktime($hour, $minute, $second, $month, $day, $year);
  return $i;
}