public function DatexObject::xformat in Datex 7.2
Same name and namespace in other branches
- 7 datex_api/datex_api_classes.inc \DatexObject::xformat()
Same as DateTime::format().
4 calls to DatexObject::xformat()
- DatexObject::formatPHP in datex_api/
datex_api.class.inc - Use php to format date
- DatexObject::reset in datex_api/
datex_api.class.inc - When new date or time is set on object, This method must be called.
- DatexObject::setConvert in datex_api/
datex_api.class.inc - Call extended class convert and set converted date on object instance,
- DatexObject::xtoArray in datex_api/
datex_api.class.inc - Same as DatexObject toArray but in Gregorian format.
File
- datex_api/
datex_api.class.inc, line 335 - Provides an API to work with dates.
Class
- DatexObject
- Base class for localized DateTime.
Code
public function xformat($format = NULL) {
if ($format === NULL) {
$format = $this->formatString;
}
return parent::format($format);
}