You are here

public function DatexObject::setFormat in Datex 7.2

Same name and namespace in other branches
  1. 7 datex_api/datex_api_classes.inc \DatexObject::setFormat()

Set default format string of object.

1 call to DatexObject::setFormat()
DatexObject::__construct in datex_api/datex_api.class.inc
Constructor for DatexObject.

File

datex_api/datex_api.class.inc, line 296
Provides an API to work with dates.

Class

DatexObject
Base class for localized DateTime.

Code

public function setFormat($format) {
  $this->formatString = $format;
  return $this;
}