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> | ||
− | |||
− | |||
− | |||
<source lang="php"> | <source lang="php"> | ||
− | public | + | public function __get ($name) |
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 27: | Line 24: | ||
|- | |- | ||
|} | |} | ||
− | + | * '''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 |
− | + | * '''Since''' {{JVer|11.1 }} | |
− | libraries/joomla/utilities/date.php | ||
− | * | ||
− | |||
===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> | ||
− | + | ===User contributed notes=== | |
− | |||
− | |||
− | === | ||
<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.
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
See also[edit]
- JDate::__get source code on BitBucket
- Class JDate
- Subpackage Utilities
- Other versions of JDate::__get
Template:SeeAlso:JDate:: get [Edit See Also]
User contributed notes[edit]
<CodeExamplesForm />