API17

API17:JDate:: get

From Joomla! Documentation

Revision as of 15:16, 24 March 2017 by JoomlaWikiBot (talk | contribs) (clean up)

Joomla 11.1 JDate::__get

Description

Magic method to access properties of the date given by class to the format method.

{{subst:Description:JDate::__get}}

public function __get ($name)
Parameter Type Default Description
$name string The name of the property.
  • Returns mixed A value if the property name is valid, null otherwise.
  • Defined on line 164 of libraries/joomla/utilities/date.php
  • Since Joomla 11.1

See also

{{subst:SeeAlso:JDate::__get}}

User contributed notes

<CodeExamplesForm />