Support Joomla!

Joomla! 1.5 Documentation

Packages

Package: Joomla-Framework

License

Content on this site is copyright © 2005 - 2008 by the individual contributors and can be used in accordance with the Creative Commons License, Attribution- NonCommercial- ShareAlike 2.5. 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 108)

Class JText   (Subpackage I18N)
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 152)

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 133)

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 119)

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 Tue, 29 Jan 2008 18:48:25 +0000 by phpDocumentor 1.3.1