public function setNavigationClass($class) {
        if(is_string($class) && !empty(trim($class))){
            $this->menuElements['ul_class'] = $class;
        }
        if((is_string($class) && empty(trim($class))) || $class === false){
            $this->menuElements['ul_class'] = '';
        }
        return $this;
    }
public function setNavigationClass($class) {
        if(is_string($class) && !empty(trim($class))){
            $this->menuElements['ul_class'] = $class;
        }
        if((is_string($class) && empty(trim($class))) || $class === false){
            $this->menuElements['ul_class'] = '';
        }
        return $this;
    }
public function setNavigationClass ( $ class ) { if ( is_string ( $ class ) && ! empty ( trim ( $ class ) ) ) { $ this -> menuElements [ 'ul_class' ] = $ class ; } if ( ( is_string ( $ class ) && empty ( trim ( $ class ) ) ) || $ class === false ) { $ this -> menuElements [ 'ul_class' ] = '' ; } return $ this ; }
Set the main navigation UL class
@param string|false $class This should be a string containing the class you want to set on the main UL element
@return $this
Set the main navigation UL class