public function addBlockedWord($text){
        if(!$this->db->count($this->getBannedWordsTable(), array('word' => strtolower($text)))){
            return $this->db->insert($this->getBannedWordsTable(), array('word' => strtolower($text)));
        }
        return false;
    }
public function addBlockedWord($text){
        if(!$this->db->count($this->getBannedWordsTable(), array('word' => strtolower($text)))){
            return $this->db->insert($this->getBannedWordsTable(), array('word' => strtolower($text)));
        }
        return false;
    }
public function addBlockedWord ( $ text ) { if ( ! $ this -> db -> count ( $ this -> getBannedWordsTable ( ) , array ( 'word' => strtolower ( $ text ) ) ) ) { return $ this -> db -> insert ( $ this -> getBannedWordsTable ( ) , array ( 'word' => strtolower ( $ text ) ) ) ; } return false ; }
Adds a word to the blocked list used to detect spam
@param string $text This should be the word or words you wish to block/use to detect spam
@return boolean Returns true if added else returns false
Adds a word to the blocked list used to detect spam