Support Joomla!

Packages

Package: Joomla-Framework

License

Content on this site is copyright © 2005 - 2008 Open Source Matters Inc and can be used in accordance with the Joomla! Electronic Documentation License. Some parts of this website may be subject to other licenses.

 Class JText

Description

Text handling class

  • since: 1.5

Located in /joomla/methods.php (line 107)

Class JText   (Subpackage Language)
Method Summary
Method void printf (format $string, mixed 1)
Method void sprintf (format $string, mixed 1)
Method void _ (string $string, [boolean $jsSafe = false])
Methods
printf (line 151)

Passes a string thru an printf

  • since: 1.5
  • access: public
void printf (format $string, mixed 1)
  • mixed 1: Mixed number of arguments for the sprintf function
  • format $string: The format string
sprintf (line 132)

Passes a string thru an sprintf

  • since: 1.5
  • access: public
void sprintf (format $string, mixed 1)
  • mixed 1: Mixed number of arguments for the sprintf function
  • format $string: The format string
_ (line 118)

Translates a string into the current language

  • since: 1.5
  • access: public
void _ (string $string, [boolean $jsSafe = false])
  • string $string: The string to translate
  • boolean $jsSafe: Make the result javascript safe

Documentation generated on Sat, 14 Nov 2009 11:15:59 +0000 by phpDocumentor 1.3.1