API17

Difference between revisions of "JDate:: get"

From Joomla! Documentation

(Layout updates)
(Updated to r1448:247ba8d88526)
Line 8: Line 8:
 
<nowiki>[</nowiki>[[Description:JDate::__get|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JDate::__get|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
===Since===
 
{{JVer|11.1 }}
 
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
public JDate::__get ($name)
+
public function __get ($name)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 27: Line 24:
 
|-
 
|-
 
|}
 
|}
===Returns===
+
* '''Returns''' mixed A value if the property name is valid, null otherwise.
mixed A value if the property name is valid, null otherwise.
+
* '''Defined''' on line 164 of libraries/joomla/utilities/date.php
===Defined in===
+
* '''Since''' {{JVer|11.1 }}
libraries/joomla/utilities/date.php (line 164)
 
* see source code in [[jplatform:utilities/date.php#cl-164|BitBucket]]
 
===Referenced by===
 
 
===See also===
 
===See also===
 +
* {{JVer|11.1}} '''JDate::__get source code''' on [[jplatform:utilities/date.php#cl-156|BitBucket]]
 +
* {{JVer|11.1}} Class [[JDate/11.1|JDate]]
 +
* {{JVer|11.1}} Subpackage [[Subpackage_Utilities/11.1|Utilities]]
 +
* [[JDate::__get|Other versions of JDate::__get]]
 +
{{SeeAlso:JDate::__get}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JDate::__get|Edit See Also]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[SeeAlso:JDate::__get|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
</span>
* [[JDate/11.1|JDate]]
+
===User contributed notes===
* [[JDate::__get|Other versions of this method]]
 
{{SeeAlso:JDate::__get}}
 
===Examples===
 
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 48: Line 44:
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
 
<noinclude>[[Category:JDate]][[Category:JDate::__get]]</noinclude>
 
<noinclude>[[Category:JDate]][[Category:JDate::__get]]</noinclude>

Revision as of 20:44, 27 April 2011

The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

Joomla 11.1 JDate::__get[edit]

Description[edit]

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

Template:Description:JDate:: get [Edit Descripton]

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[edit]

Template:SeeAlso:JDate:: get [Edit See Also]

User contributed notes[edit]

<CodeExamplesForm />