system/classes/searchcriteria.class.php
branchHEAD
changeset 7387 39932e68c099
parent 7342 187ee0efcee2
child 7391 0bee991937cc
     1.1 --- a/system/classes/searchcriteria.class.php	Thu Oct 01 00:07:25 2009 +0100
     1.2 +++ b/system/classes/searchcriteria.class.php	Sun Oct 18 02:05:53 2009 +0100
     1.3 @@ -41,7 +41,6 @@
     1.4      var $_url_rewrite;
     1.5      var $_append_query;
     1.6      var $_results = array();
     1.7 -    var $_is_comment;
     1.8  
     1.9      function SearchCriteria( $pluginName, $pluginLabel )
    1.10      {
    1.11 @@ -50,7 +49,6 @@
    1.12          $this->_rank = 3;
    1.13          $this->_url_rewrite = false;
    1.14          $this->_append_query = true;
    1.15 -        $this->_is_comment = false;
    1.16      }
    1.17  
    1.18      function setSQL( $sql )
    1.19 @@ -83,11 +81,6 @@
    1.20          $this->_results = $result_arr;
    1.21      }
    1.22  
    1.23 -    function setComment( $bool )
    1.24 -    {
    1.25 -        $this->_is_comment = $bool;
    1.26 -    }
    1.27 -
    1.28      function getSQL()
    1.29      {
    1.30          return $this->_sql;
    1.31 @@ -135,11 +128,6 @@
    1.32          return $this->_results;
    1.33      }
    1.34  
    1.35 -    function getComment()
    1.36 -    {
    1.37 -        return $this->_is_comment;
    1.38 -    }
    1.39 -
    1.40      function buildSearchSQL( $keyType, $query, $columns, $sql = '' )
    1.41      {
    1.42          if ($keyType == 'all')