JDate:: get: Difference between revisions
From Joomla! Documentation
m clean up |
m preparing for archive only |
||
Line 4: | Line 4: | ||
Magic method to access properties of the date given by class to the format method. | Magic method to access properties of the date given by class to the format method. | ||
<source lang="php"> | <source lang="php"> | ||
Line 30: | Line 30: | ||
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Utilities|Utilities]] | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Utilities|Utilities]] | ||
* [[API17:JDate::__get|Other versions of JDate::__get]] | * [[API17:JDate::__get|Other versions of JDate::__get]] | ||
===User contributed notes=== | ===User contributed notes=== | ||
=== Code Examples === | |||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JDate::__get | category=JDate::__get | ||
namespace=CodeExample | |||
category=MethodExample | category=MethodExample | ||
include=* | include=* |
Latest revision as of 02:50, 25 March 2017
JDate::__get
Description
Magic method to access properties of the date given by class to the format method.
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
See also
JDate::__get source code on BitBucket
Class JDate
Subpackage Utilities
- Other versions of JDate::__get
User contributed notes
Code Examples