public function removeClass($className)
    {
        $existingClasses = !empty($this->attributes['class'])
            ? explode(' ',$this->attributes['class'])
            : array();
        unset($existingClasses[array_search($className, $existingClasses)]);
        $this->attributes['class'] = implode(' ', $existingClasses);
    }
public function removeClass($className)
    {
        $existingClasses = !empty($this->attributes['class'])
            ? explode(' ',$this->attributes['class'])
            : array();
        unset($existingClasses[array_search($className, $existingClasses)]);
        $this->attributes['class'] = implode(' ', $existingClasses);
    }
public function removeClass ( $ className ) { $ existingClasses = ! empty ( $ this -> attributes [ 'class' ] ) ? explode ( ' ' , $ this -> attributes [ 'class' ] ) : array ( ) ; unset ( $ existingClasses [ array_search ( $ className , $ existingClasses ) ] ) ; $ this -> attributes [ 'class' ] = implode ( ' ' , $ existingClasses ) ; }
Remove a CSS class jQuery style

@author Dieter Raber, <dieter@taotesting.com>
@param string $className
Remove a CSS class jQuery style