API17

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.  


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


<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]]
{{subst:SeeAlso:JDate::__get}}
 


===User contributed notes===
===User contributed notes===
<CodeExamplesForm />
=== Code Examples ===
<dpl>
<dpl>
noresultsheader=\n
noresultsheader=\n
category=JDate::__get
category=JDate::__get
category=CodeExample
namespace=CodeExample
category=MethodExample
category=MethodExample
include=*
include=*

Latest revision as of 02:50, 25 March 2017

Joomla 11.1 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 Joomla 11.1

See also


User contributed notes

Code Examples