public function DatexObject::setFormat in Datex 7
Same name and namespace in other branches
- 7.2 datex_api/datex_api.class.inc \DatexObject::setFormat()
Set format string used for formating date.
1 call to DatexObject::setFormat()
- DatexObject::__construct in datex_api/
datex_api_classes.inc - Constructor for DatexObject.
File
- datex_api/
datex_api_classes.inc, line 748 - API and helper functions used by other datex modules.
Class
- DatexObject
- This class is Jalali equivilant of php DateTime. It also has some functionallity from object defiend in Drupal's date module DateObject.
Code
public function setFormat($format) {
$this->formatString = $format;
return $this;
}