JText::printf: Difference between revisions
From Joomla! Documentation
m clean up |
m preparing for archive only |
||
| Line 4: | Line 4: | ||
Passes a string thru an printf. | Passes a string thru an printf. | ||
<source lang="php"> | <source lang="php"> | ||
| Line 36: | Line 36: | ||
* {{JVer|11.1}} Class [[API17:JText|JText]] | * {{JVer|11.1}} Class [[API17:JText|JText]] | ||
* [[API17:JText::printf|Other versions of JText::printf]] | * [[API17:JText::printf|Other versions of JText::printf]] | ||
===User contributed notes=== | ===User contributed notes=== | ||
=== Code Examples === | |||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JText::printf | category=JText::printf | ||
namespace=CodeExample | |||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
Latest revision as of 03:51, 25 March 2017
JText::printf
Description
Passes a string thru an printf.
public static function printf (
$string
)
| Parameter | Type | Default | Description |
|---|---|---|---|
| $string | format | The format string. | |
| mixed | Mixednumberofargumentsforthesprintffunction. |
See also
JText::printf source code on BitBucket
Class JText- Other versions of JText::printf
User contributed notes
Code Examples