You are here

public function DatexObject::__toString in Datex 7.2

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

Magic Function toString.

File

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

Class

DatexObject
Base class for localized DateTime.

Code

public function __toString() {
  return $this
    ->format();
}