Difference between revisions of "JDate::monthToString"
From Joomla! Documentation
(Layout updates) |
m (preparing for archive only) |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 4: | Line 4: | ||
Translates month number to a string. | Translates month number to a string. | ||
− | + | ||
− | + | ||
− | |||
− | |||
− | |||
− | |||
− | |||
<source lang="php"> | <source lang="php"> | ||
− | protected | + | protected function monthToString ( |
+ | $month | ||
+ | $abbr=false | ||
+ | ) | ||
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 32: | Line 30: | ||
|- | |- | ||
|} | |} | ||
− | + | * '''Returns''' string The month of the year. | |
− | string The month of the year. | + | * '''Defined''' on line 350 of libraries/joomla/utilities/date.php |
− | + | * '''Since''' {{JVer|11.1 }} | |
− | libraries/joomla/utilities/date.php | ||
− | * | ||
− | |||
===See also=== | ===See also=== | ||
− | + | * {{JVer|11.1}} '''JDate::monthToString source code''' on [[jplatform:utilities/date.php#cl-342|BitBucket]] | |
− | + | * {{JVer|11.1}} Class [[API17:JDate|JDate]] | |
− | + | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Utilities|Utilities]] | |
− | * | + | * [[API17:JDate::monthToString|Other versions of JDate::monthToString]] |
− | * [[JDate::monthToString|Other versions of | + | |
− | + | ||
− | ===Examples=== | + | ===User contributed notes=== |
− | + | === Code Examples === | |
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JDate::monthToString | category=JDate::monthToString | ||
− | + | 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 21:50, 24 March 2017
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::monthToString[edit]
Description[edit]
Translates month number to a string.
protected function monthToString (
$month
$abbr=false
)
Parameter | Type | Default | Description |
---|---|---|---|
$month | integer | The numeric month of the year. | |
$abbr | boolean | false | Return the abreviated month string? |
- Returns string The month of the year.
- Defined on line 350 of libraries/joomla/utilities/date.php
- Since
See also[edit]
- JDate::monthToString source code on BitBucket
- Class JDate
- Subpackage Utilities
- Other versions of JDate::monthToString
User contributed notes[edit]
Code Examples[edit]