4 * Preprocessor for lsfilter, resolves strings and integers
6 class LSFilterPP
extends LSFilterPreprocessor
{
8 * Remove quotations of a string
10 public function preprocess_string( $value ) {
11 return stripslashes( substr( $value, 1, -1 ) );
15 * Convert a integer token to integer
17 public function preprocess_integer($value) {
18 return intval($value);