src/Data/BizDataObj_Abstract.php
public function setSearchRule($rule, $overWrite = false)
    {
        if (!$rule || $rule == "")
            return;
        if (!$this->searchRule || $overWrite == true) {
            $this->searchRule = $rule;
        } elseif (strpos($this->searchRule, $rule) === false) {
            $this->searchRule .= " AND " . $rule;
        }
    }
public function setSearchRule($rule, $overWrite = false)
    {
        if (!$rule || $rule == "")
            return;
        if (!$this->searchRule || $overWrite == true) {
            $this->searchRule = $rule;
        } elseif (strpos($this->searchRule, $rule) === false) {
            $this->searchRule .= " AND " . $rule;
        }
    }
Set search rule as text in sql where clause. i.e. [fieldName] opr Value

@param string $rule search rule has format "[fieldName] opr Value"
@param boolean $overWrite specify if this rule should overwrite any existing rule
@return void