public function setKeyName($key)
    {
        if ($this->sql) {
            if ($this->validateToken($key)) {
                $this->key = $key;
                return true;
            } else {
                throw new SimpleCache_Exception("`$key` is not a valid field name");
            }
        }
        return false;
    }
public function setKeyName($key)
    {
        if ($this->sql) {
            if ($this->validateToken($key)) {
                $this->key = $key;
                return true;
            } else {
                throw new SimpleCache_Exception("`$key` is not a valid field name");
            }
        }
        return false;
    }
public function setKeyName ( $ key ) { if ( $ this -> sql ) { if ( $ this -> validateToken ( $ key ) ) { $ this -> key = $ key ; return true ; } else { throw new SimpleCache_Exception ( "`$key` is not a valid field name" ) ; } } return false ; }
Set cache key field name

@param string $key

@return boolean Returns `TRUE` on success, `FALSE` on failure
Set cache key field name