- Added is_safe property to Filters (if it is set and it is TRUE, it means the filter...
commitdcd7ea648024ce0ca0ab791809a5751fd1e2fd16
authorCésar D. Rodas <crodas@php.net>
Thu, 19 Aug 2010 07:15:13 +0000 (19 03:15 -0400)
committerCésar D. Rodas <crodas@php.net>
Thu, 19 Aug 2010 07:15:13 +0000 (19 03:15 -0400)
tree7623d13fdbce786589c9fba520073d01a720b5ab
parent1b20d747cbf47d2237b4fa14649d07990dde6884
- Added is_safe property to Filters (if it is set and it is TRUE, it means the filter return HTML-safe data)
- Improved Length filter, doing the best effort to detect whether it is an array or string at compile time
- Added Strlen and Count filter (similar to PHP functions)
lib/Haanga/Compiler.php
lib/Haanga/Extension.php
lib/Haanga/Extension/Filter/Count.php [new file with mode: 0644]
lib/Haanga/Extension/Filter/Length.php
lib/Haanga/Extension/Filter/Strlen.php [new file with mode: 0644]
tests/tmp/assert_templates/filter.tpl.php