public function getSearchQuery()
    {
        if (isset($_REQUEST['Search'])) {
            return DBField::create_field('HTMLText', $_REQUEST['Search']);
        } elseif (isset($_REQUEST['q'])) {
            return DBField::create_field('HTMLText', $_REQUEST['q']);
        }
    }
public function getSearchQuery()
    {
        if (isset($_REQUEST['Search'])) {
            return DBField::create_field('HTMLText', $_REQUEST['Search']);
        } elseif (isset($_REQUEST['q'])) {
            return DBField::create_field('HTMLText', $_REQUEST['q']);
        }
    }
public function getSearchQuery ( ) { if ( isset ( $ _REQUEST [ 'Search' ] ) ) { return DBField :: create_field ( 'HTMLText' , $ _REQUEST [ 'Search' ] ) ; } elseif ( isset ( $ _REQUEST [ 'q' ] ) ) { return DBField :: create_field ( 'HTMLText' , $ _REQUEST [ 'q' ] ) ; } }
Return the current search query.

@return HTMLText|null
Return the current search query .