public function setActiveTerm($term)
    {
        if (strlen($term)) {
            $this->putSession('term', $term);
        } else {
            $this->resetSession();
        }

        $this->activeTerm = $term;
    }
public function setActiveTerm($term)
    {
        if (strlen($term)) {
            $this->putSession('term', $term);
        } else {
            $this->resetSession();
        }

        $this->activeTerm = $term;
    }
public function setActiveTerm ( $ term ) { if ( strlen ( $ term ) ) { $ this -> putSession ( 'term' , $ term ) ; } else { $ this -> resetSession ( ) ; } $ this -> activeTerm = $ term ; }
Sets an active search term for this widget instance.
Sets an active search term for this widget instance .