JText::sprintf/1.6

From Joomla! Documentation

Jump to: navigation, search

Joomla 1.6 JText::sprintf

Description

Passes a string thru an sprintf.

Description:JText::sprintf [Edit Descripton]

public static function sprintf (
        $string
)
Parameter Type Default Description
$string string The format string.
mixed Mixednumberofargumentsforthesprintffunction.
array optionalArrayofoptionarray('jsSafe'=>boolean,'interpreteBackSlashes'=>boolean,'script'=>boolean)where-jsSafeisabooleantogenerateajavascriptsafestrings-interpreteBackSlashesisabooleantointerpretebackslashes\->\,

->newline,->tabulation-scriptisabooleantoindicatethatthestringwillbepushinthejavascriptlanguagestore

See also

SeeAlso:JText::sprintf [Edit See Also]

User contributed notes


Personal tools