API17:JDate:: toString
From Joomla! Documentation
(Difference between revisions)
(Bulk upload by Doxiki2) |
(Updated to r1448:247ba8d88526) |
||
| (One intermediate revision by one user not shown) | |||
| Line 8: | Line 8: | ||
<nowiki>[</nowiki>[[Description:JDate::__toString|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JDate::__toString|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | |||
| − | |||
| − | |||
<source lang="php"> | <source lang="php"> | ||
| − | public | + | public function __toString () |
</source> | </source> | ||
| − | + | * '''Returns''' string The date as a formatted string. | |
| − | string The date as a formatted string. | + | * '''Defined''' on line 241 of libraries/joomla/utilities/date.php |
| − | + | * '''Since''' {{JVer|11.1 }} | |
| − | libraries/joomla/utilities/date.php | + | |
| − | + | ||
===See also=== | ===See also=== | ||
| + | * {{JVer|11.1}} '''JDate::__toString source code''' on [[jplatform:utilities/date.php#cl-233|BitBucket]] | ||
| + | * {{JVer|11.1}} Class [[JDate/11.1|JDate]] | ||
| + | * {{JVer|11.1}} Subpackage [[Subpackage_Utilities/11.1|Utilities]] | ||
| + | * [[JDate::__toString|Other versions of JDate::__toString]] | ||
| + | {{SeeAlso:JDate::__toString}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JDate::__toString|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JDate::__toString|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | + | ===User contributed notes=== | |
| − | + | ||
| − | + | ||
| − | === | + | |
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
| Line 34: | Line 31: | ||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
| + | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category:JDate]][[Category:JDate::__toString]]</noinclude> | <noinclude>[[Category:JDate]][[Category:JDate::__toString]]</noinclude> | ||
Revision as of 20:44, 27 April 2011
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.
JDate::__toString
Description
Magic method to render the date object in the format specified in the public static member JDate::$format.
Description:JDate:: toString [Edit Descripton]
public function __toString ()
- Returns string The date as a formatted string.
- Defined on line 241 of libraries/joomla/utilities/date.php
- Since
See also
-
JDate::__toString source code on BitBucket
-
Class JDate
-
Subpackage Utilities
- Other versions of JDate::__toString
SeeAlso:JDate:: toString [Edit See Also]
User contributed notes
<CodeExamplesForm />
