public function remove_class($class) {
        if (in_array($class, $this->classes)) {
            $key = array_search($class,$this->classes);
            if ($key!==false) {
                unset($this->classes[$key]);
                return true;
            }
        }
        return false;
    }
public function remove_class($class) {
        if (in_array($class, $this->classes)) {
            $key = array_search($class,$this->classes);
            if ($key!==false) {
                unset($this->classes[$key]);
                return true;
            }
        }
        return false;
    }
public function remove_class ( $ class ) { if ( in_array ( $ class , $ this -> classes ) ) { $ key = array_search ( $ class , $ this -> classes ) ; if ( $ key !== false ) { unset ( $ this -> classes [ $ key ] ) ; return true ; } } return false ; }
Removes a CSS class from this node.

@param string $class
@return bool True if the class was successfully removed.
Removes a CSS class from this node .