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