public static function htmlClass($class, $activeClass) {
        if((isset($class) && is_string($class) && !empty(trim($class))) || (is_string($activeClass) && !empty(trim($activeClass)))) {
            return ' class="'.trim(trim($class).' '.$activeClass).'"';
        }
        return false;
    }
public static function htmlClass($class, $activeClass) {
        if((isset($class) && is_string($class) && !empty(trim($class))) || (is_string($activeClass) && !empty(trim($activeClass)))) {
            return ' class="'.trim(trim($class).' '.$activeClass).'"';
        }
        return false;
    }
public static function htmlClass ( $ class , $ activeClass ) { if ( ( isset ( $ class ) && is_string ( $ class ) && ! empty ( trim ( $ class ) ) ) || ( is_string ( $ activeClass ) && ! empty ( trim ( $ activeClass ) ) ) ) { return ' class="' . trim ( trim ( $ class ) . ' ' . $ activeClass ) . '"' ; } return false ; }
Returns the HTML class element
@param string $class Should be a string containing the classes to add
@param string $activeClass If the link is active the active class will be set else will be empty
@return string|false If element is set and is valid will return the HTML element else return false
Returns the HTML class element