- Fixed little bug with iteration with arrays of objects (reported by @gallir)
[haanga.git] / tests / tmp / assert_templates / truncatewords.tpl.php
blobdcd2745d9b787b75470200e2fe2569d8b648d6a7
1 <?php
2 /* Load filter truncatewords definition */
3 require_once('/home/crodas/projects/playground/haanga/lib/Haanga/Extension/Filter/Truncatewords.php');
4 $HAANGA_VERSION = '1.1.3';
5 /* Generated from /home/crodas/projects/playground/haanga/tests/assert_templates/truncatewords.tpl */
6 function haanga_33ff616729fa5b4a494db28dee3c3f04cecdd01d($vars, $return=FALSE, $blocks=array())
8 global $test_global;
9 extract($vars);
10 if ($return == TRUE) {
11 ob_start();
13 echo htmlentities(ucwords(strtolower(Haanga_Extension_Filter_Truncatewords::main($short_text, 2)))).'
14 '.htmlentities(ucwords(strtolower(Haanga_Extension_Filter_Truncatewords::main($text, 2)))).'
16 if ($return == TRUE) {
17 return ob_get_clean();