truncating a string

truncating a string

Wednesday 27 August 2003 3:50:30 pm - 1 reply

Author Message

Paul Forsyth

Thursday 28 August 2003 12:40:14 am

You would need to add this as an operator to allow the underlying php string function through to the template.

In 3.1 have a look at the ez lib file:

lib/eztemplate/classes/eztemplatewashoperator.php:

I see in 3.2 there is a new file for string functions:

lib/eztemplate/classes/eztemplatestringoperator.php

Hopefully from these files you can see what is going on. I find using 'grep' extremely handy to determine which files contain the things im interested in.

Paul

You must be logged in to post messages in this topic!

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.