JDate::dayToString: Difference between revisions
From Joomla! Documentation
Bulk upload by Doxiki2 |
m preparing for archive only |
||
| (6 intermediate revisions by 2 users not shown) | |||
| Line 4: | Line 4: | ||
Translates day of week number to a string. | Translates day of week number to a string. | ||
<source lang="php"> | <source lang="php"> | ||
protected | protected function dayToString ( | ||
$day | |||
$abbr=false | |||
) | |||
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
| Line 32: | Line 30: | ||
|- | |- | ||
|} | |} | ||
* '''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 [[API17:JDate|JDate]] | |||
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Utilities|Utilities]] | |||
* | * [[API17:JDate::dayToString|Other versions of JDate::dayToString]] | ||
* [[JDate::dayToString|Other versions of | |||
===Examples=== | ===User contributed notes=== | ||
=== Code Examples === | |||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JDate::dayToString | category=JDate::dayToString | ||
namespace=CodeExample | |||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
namespace=CodeExample | |||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category: | <noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude> | ||
Latest revision as of 02:50, 25 March 2017
JDate::dayToString
Description
Translates day of week number to a string.
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
User contributed notes
Code Examples