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_Truncate

Description

patTemplate modifier Truncate

Truncate a string variable to fixed length and add a suffix if it was truncated. It can also start from an offset and add a prefix.

Possible attributes are:

  • length (integer)
  • suffix (string)
  • start
  • prefix (string)

Located in /pattemplate/patTemplate/Modifier/Truncate.php (line 32)

Abstract class patTemplate_Module

Abstract class patTemplate_Modifier
   
   Class patTemplate_Modifier_Truncate   (Subpackage Modifiers)
Method Summary
Method string modify (string $value, [ $params = array()])
Methods
modify (line 42)

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:29:48 +0000 by phpDocumentor 1.3.1