API17

JText::printf: Difference between revisions

From Joomla! Documentation

Doxiki2 (talk | contribs)
Updated to r1448:247ba8d88526
m preparing for archive only
 
(4 intermediate revisions by the same user not shown)
Line 4: Line 4:
Passes a string thru an printf.  
Passes a string thru an printf.  


{{Description:JText::printf}}
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[Description:JText::printf|Edit Descripton]]<nowiki>]</nowiki>
</span>
<source lang="php">
<source lang="php">
public static function printf (
public static function printf (
Line 36: Line 34:
===See also===
===See also===
* {{JVer|11.1}} '''JText::printf source code''' on [[jplatform:methods.php#cl-264|BitBucket]]
* {{JVer|11.1}} '''JText::printf source code''' on [[jplatform:methods.php#cl-264|BitBucket]]
* {{JVer|11.1}} Class [[JText/11.1|JText]]
* {{JVer|11.1}} Class [[API17:JText|JText]]
* [[JText::printf|Other versions of JText::printf]]
* [[API17:JText::printf|Other versions of JText::printf]]
{{SeeAlso:JText::printf}}
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JText::printf|Edit See Also]]<nowiki>]</nowiki>
</span>
===User contributed notes===
===User contributed notes===
<CodeExamplesForm />
=== Code Examples ===
<dpl>
<dpl>
noresultsheader=\n
noresultsheader=\n
category=JText::printf
category=JText::printf
category=CodeExample
namespace=CodeExample
category=MethodExample
category=MethodExample
include=*
include=*
Line 53: Line 49:
format= ,,,
format= ,,,
</dpl>
</dpl>
<noinclude>[[Category:JText]][[Category:JText::printf]]</noinclude>
<noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude>

Latest revision as of 03:51, 25 March 2017

Joomla 11.1 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.
  • Returns mixed
  • Defined on line 272 of libraries/joomla/methods.php
  • Since Joomla 11.1

See also


User contributed notes

Code Examples