function cmfcCalendarV1::smartGet in Calendar Systems 7
Same name and namespace in other branches
- 8 calendar/v1/calendarV1.class.inc.php \cmfcCalendarV1::smartGet()
- 8.2 calendar/v1/calendarV1.class.inc.php \cmfcCalendarV1::smartGet()
- 7.2 calendar/v1/calendarV1.class.inc.php \cmfcCalendarV1::smartGet()
Placeholder for smartGet function.
1 call to cmfcCalendarV1::smartGet()
- cmfcCalendarV1Gregorian::smartGet in calendar/
v1/ calendarSystems/ gregorian.class.inc.php - @desc accept array,timestamp and string as input datetime in jalali or gregorian format
4 methods override cmfcCalendarV1::smartGet()
- cmfcCalendarV1Gregorian::smartGet in calendar/
v1/ calendarSystems/ gregorian.class.inc.php - @desc accept array,timestamp and string as input datetime in jalali or gregorian format
- cmfcCalendarV1Iranian::smartGet in calendar/
v1/ calendarSystems/ iranian.class.inc.php - @desc accept array,timestamp and string as input datetime in jalali or gregorian format
- cmfcCalendarV1Julian::smartGet in calendar/
v1/ calendarSystems/ julian.class.inc.php - @desc accept array,timestamp and string as input datetime in jalali or gregorian format
- cmfcCalendarV1Thai::smartGet in calendar/
v1/ calendarSystems/ thai.class.inc.php - Placeholder for smartGet function.
File
- calendar/
v1/ calendarV1.class.inc.php, line 328
Class
Code
function smartGet($format, $timestamp = NULL) {
if (!$timestamp) {
$timestamp = time();
}
return $this
->phpDate($format, $timestamp);
}