API17

JDate::dayToString: Difference between revisions

From Joomla! Documentation

Doxiki2 (talk | contribs)
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.  


{{Description:JDate::dayToString}}
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[Description:JDate::dayToString|Edit Descripton]]<nowiki>]</nowiki>
</span>
===Since===
{{JVer|11.1 }}
===Synopsis===
<source lang="php">
<source lang="php">
protected JDate->dayToString ($day, $abbr=false)
protected function dayToString (
        $day
        $abbr=false
)
</source>
</source>
{| class="wikitable"
{| class="wikitable"
Line 32: Line 30:
|-
|-
|}
|}
===Returns===
* '''Returns''' string The day of the week.
string The day of the week.
* '''Defined''' on line 255 of libraries/joomla/utilities/date.php
===Defined in===
* '''Since''' {{JVer|11.1 }}
libraries/joomla/utilities/date.php
===Referenced by===
===See also===
===See also===
<span class="editsection" style="font-size:76%;">
* {{JVer|11.1}} '''JDate::dayToString source code''' on [[jplatform:utilities/date.php#cl-247|BitBucket]]
<nowiki>[</nowiki>[[SeeAlso:JDate::dayToString|Edit See Also]]<nowiki>]</nowiki>
* {{JVer|11.1}} Class [[API17:JDate|JDate]]
</span>
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Utilities|Utilities]]
* [[JDate/11.1|JDate]]
* [[API17:JDate::dayToString|Other versions of JDate::dayToString]]
* [[JDate::dayToString|Other versions of this method]]
 
{{SeeAlso:JDate::dayToString}}
 
===Examples===
===User contributed notes===
<CodeExamplesForm />
=== Code Examples ===
<dpl>
<dpl>
noresultsheader=\n
noresultsheader=\n
category=JDate::dayToString
category=JDate::dayToString
category=CodeExample
namespace=CodeExample
category=MethodExample
category=MethodExample
include=*
include=*
namespace=CodeExample
format= ,,,
format= ,,,
</dpl>
</dpl>
<noinclude>[[Category:JDate]][[Category:JDate::dayToString]]</noinclude>
<noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude>

Latest revision as of 02:50, 25 March 2017

Joomla 11.1 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 Joomla 11.1

See also


User contributed notes

Code Examples