API17:JDate::dayToString
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::dayToString|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JDate::dayToString|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | |||
| − | |||
| − | |||
<source lang="php"> | <source lang="php"> | ||
| − | protected | + | protected function dayToString ( |
| + | $day | ||
| + | $abbr=false | ||
| + | ) | ||
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
| Line 32: | Line 32: | ||
|- | |- | ||
|} | |} | ||
| − | + | * '''Returns''' string The day of the week. | |
| − | string The day of the week. | + | * '''Defined''' on line 255 of libraries/joomla/utilities/date.php |
| − | + | * '''Since''' {{JVer|11.1 }} | |
| − | libraries/joomla/utilities/date.php | + | |
| − | + | ||
===See also=== | ===See also=== | ||
| + | * {{JVer|11.1}} '''JDate::dayToString source code''' on [[jplatform:utilities/date.php#cl-247|BitBucket]] | ||
| + | * {{JVer|11.1}} Class [[JDate/11.1|JDate]] | ||
| + | * {{JVer|11.1}} Subpackage [[Subpackage_Utilities/11.1|Utilities]] | ||
| + | * [[JDate::dayToString|Other versions of JDate::dayToString]] | ||
| + | {{SeeAlso:JDate::dayToString}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JDate::dayToString|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JDate::dayToString|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | + | ===User contributed notes=== | |
| − | + | ||
| − | + | ||
| − | === | + | |
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
| Line 52: | Line 52: | ||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
| + | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category:JDate]][[Category:JDate::dayToString]]</noinclude> | <noinclude>[[Category:JDate]][[Category:JDate::dayToString]]</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::dayToString
Description
Translates day of week number to a string.
Description:JDate::dayToString [Edit Descripton]
protected function dayToString ( $day $abbr=false )
| Parameter | Type | Default | Description |
|---|---|---|---|
| $day | integer | The numeric day of the week. | |
| $abbr | boolean | false | Return the abreviated day string? |
- Returns string The day of the week.
- Defined on line 255 of libraries/joomla/utilities/date.php
- Since
See also
-
JDate::dayToString source code on BitBucket
-
Class JDate
-
Subpackage Utilities
- Other versions of JDate::dayToString
SeeAlso:JDate::dayToString [Edit See Also]
User contributed notes
<CodeExamplesForm />
