public function filter($content, $search, $type)
    {
        switch ($type) {
            case 'in':
                return (strpos($content, $search) !== false);
                break;
            default:
                return ($content == $search);
        }
    }
public function filter($content, $search, $type)
    {
        switch ($type) {
            case 'in':
                return (strpos($content, $search) !== false);
                break;
            default:
                return ($content == $search);
        }
    }
public function filter ( $ content , $ search , $ type ) { switch ( $ type ) { case 'in' : return ( strpos ( $ content , $ search ) !== false ) ; break ; default : return ( $ content == $ search ) ; } }
Used by the PageBuilder filter functions to filter block data
@param string $content
@param string $search
@param string $type
@return bool
Used by the PageBuilder filter functions to filter block data