Support Joomla!

Joomla! 1.5 Documentation

Packages

Package: patTemplate

Developer Network License

The Joomla! Developer Network content is © copyright 2006 by the individual contributors and can be used in accordance with the Creative Commons License, Attribution- NonCommercial- ShareAlike 2.5

 Class patTemplate_Modifier_Numberformat

Description

patTemplate modfifier Numberformat

formats dates and times according to a format string.

Possible attributes are:

  • decimals (int)
  • point
  • separator
See the PHP documentation for number_format() for more information.

Located in /pattemplate/patTemplate/Modifier/Numberformat.php (line 33)

Abstract class patTemplate_Module

Abstract class patTemplate_Modifier
   
   Class patTemplate_Modifier_Numberformat   (Subpackage Modifiers)
Variable Summary
Variable mixed $defaults
Method Summary
Method string modify (string $value, [ $params = array()])
Variables
mixed $defaults = array(
'decimals' => 2,
'point' => '.',
'separator' => ','
)
(line 35)

Inherited Variables

Inherited from patTemplate_Module

Variable patTemplate_Module::$_name
Variable patTemplate_Module::$_params
Methods
modify (line 47)

modify the value

  • return: modified value
  • access: public
string modify (string $value, [ $params = array()])
  • string $value: value
  • $params

Redefinition of:
patTemplate_Modifier::modify()
modify the value

Inherited Methods

Inherited From patTemplate_Modifier

 patTemplate_Modifier::modify()

Inherited From patTemplate_Module

 patTemplate_Module::getName()
 patTemplate_Module::getParam()
 patTemplate_Module::setParams()

Documentation generated on Mon, 05 Mar 2007 21:12:08 +0000 by phpDocumentor 1.3.1