public function setPageProcessPatterns(array $pattern)
    {
        $this->otherOptions['pageProcessPattern'] = implode("||",
            array_map(function ($item) {
                return urlencode($item);
            }, $pattern));

        return $this;
    }
public function setPageProcessPatterns(array $pattern)
    {
        $this->otherOptions['pageProcessPattern'] = implode("||",
            array_map(function ($item) {
                return urlencode($item);
            }, $pattern));

        return $this;
    }
public function setPageProcessPatterns ( array $ pattern ) { $ this -> otherOptions [ 'pageProcessPattern' ] = implode ( "||" , array_map ( function ( $ item ) { return urlencode ( $ item ) ; } , $ pattern ) ) ; return $ this ; }
Specify ||-separated strings to limit pages processed to those whose
HTML contains any of the content strings.

@param array $pattern
@return $this
Specify || - separated strings to limit pages processed to those whose HTML contains any of the content strings .