Displays this navigational bar

Displays each entry separated by a special character and outputs
navbar entries with links as anchor tags.
160134
public function display()
    {
        if (!$this->visible) {
            return;
        }

        parent::display();

        $count = count($this);
        $i = 1;

        $container_tag = $this->getContainerTag();
        $container_tag->open();

        foreach ($this->entries as $entry) {
            // display separator
            if ($i > 1) {
                echo SwatString::minimizeEntities($this->separator);
            }

            // link all entries or link all but the last entry
            $link = $this->link_last_entry || $i < $count;

            $this->displayEntry($entry, $link, $i === 1);

            $i++;
        }

        $container_tag->close();
    }
143632
function buildHTML(navigation, first, sParentLink) {
    return '<ul class="nav' + (first ? ' sidenav' : '') + '">' + navigation.map(function(loc) {

      if (!loc || !loc.link) return '';
      loc.link = (opts.parentLink && sParentLink ? sParentLink + '-' : '') + loc.link;
      loc.$ele.attr('id', loc.link);

      return '<li><a href="#' + loc.link + '">' + escape(loc.text) + '</a>' + (loc.children ? buildHTML(loc.children, false, loc.link) : '') + '</li>';
    }).join('\n') + '</ul>';
  }
359848
public function display(){
		
		$this->eventM->sendEvent('Didplay_Prepare@OWeb\manage\Headers');
				
		echo "\n<!--OWEB displays all CSS includes-->\n";
		//DIsplaying all Css Headers
		foreach ($this->css_headers as $id => $h){
			echo $h->getCode($id);
		}
		
		echo "\n<!--OWEB displays all JS includes and codes-->\n";
		
		//Displaying Javascript Headers
		foreach ($this->js_headers as $id => $h){
			echo $h->getCode($id);
		}
		
		echo "\n<!--OWEB displays personalized header codes-->\n";
		//Displaying all other headers
		foreach ($this->other_headers as $id => $h){
			echo $h->getCode($id);
		}
		
		$this->eventM->sendEvent('Didplay_Done@OWeb\manage\Headers');
	}
1061611
public function display()
	{
		$ul_tag = new SwatHtmlTag('ul');
		$ul_tag->id = $this->id;
		$ul_tag->class = 'demo-menu-bar';

		$a_tag = new SwatHtmlTag('a');
		$span_tag = new SwatHtmlTag('span');
		$li_tag = new SwatHtmlTag('li');

		$ul_tag->open();

		foreach ($this->entries as $demo => $title) {
			$li_tag->class = ($this->selected_entry == $demo) ?
				'demo-menu-bar-selected' : null;

			$li_tag->open();

			if ($this->selected_entry == $demo) {
				$span_tag->setContent($title);
				$span_tag->display();
			} else {
				$a_tag->href = 'index.php?demo='.$demo;
				$a_tag->setContent($title);
				$a_tag->display();
			}

			$li_tag->close();
		}

		$ul_tag->close();
	}
170436
public function display()
    {
        if (!$this->visible || count($this->view->model) < 2) {
            return;
        }

        parent::display();

        $this->createEmbeddedWidgets();

        $columns = $this->view->getVisibleColumns();

        $tr_tag = new SwatHtmlTag('tr');
        $tr_tag->id = $this->id;
        $tr_tag->class = $this->getCSSClassString();
        $tr_tag->open();

        // find checkbox column position
        $position = 0;
        foreach ($columns as $column) {
            if ($column === $this->column) {
                break;
            } else {
                $position++;
            }
        }

        if ($position > 0) {
            $td_before_tag = new SwatHtmlTag('td');
            $td_before_tag->setContent('&nbsp;', 'text/xml');
            if ($position > 1) {
                $td_before_tag->colspan = $position;
            }

            $td_before_tag->display();
        }

        $td_tag = new SwatHtmlTag('td');
        if (count($columns) - $position > 1) {
            $td_tag->colspan = count($columns) - $position;
        }

        $td_tag->open();
        if ($this->title !== null) {
            $this->check_all->title = $this->title;
            $this->check_all->content_type = $this->content_type;
        }

        $this->check_all->extended_count = $this->extended_count;
        $this->check_all->visible_count = $this->visible_count;
        $this->check_all->unit = $this->unit;
        $this->check_all->tab_index = $this->tab_index;
        $this->check_all->display();

        $td_tag->close();

        $tr_tag->close();
    }
773736
public function displayLink(Nav $nav)
    {
        $links = $nav->getLinks();
        $this->view->display('@nav/navs/link.php', ['links' => $links]);
    }
727620
def display(self,
                ret,
                indent,
                out,
                rows_key=None,
                labels_key=None):

        ''''''

        rows = []
        labels = None

        if isinstance(ret, dict):
            if not rows_key or (rows_key and rows_key in list(ret.keys())):
                # either not looking for a specific key
                # either looking and found in the current root
                for key in sorted(ret):
                    if rows_key and key != rows_key:
                        continue  # if searching specifics, ignore anything else
                    val = ret[key]
                    if not rows_key:
                        out.append(
                            self.ustring(
                                indent,
                                self.DARK_GRAY,  # pylint: disable=no-member
                                key,
                                suffix=':'
                            )
                        )
                        out.append(
                            self.ustring(
                                indent,
                                self.DARK_GRAY,  # pylint: disable=no-member
                                '----------'
                            )
                        )
                    if isinstance(val, (list, tuple)):
                        rows = val
                        if labels_key:
                            # at the same depth
                            labels = ret.get(labels_key)  # if any
                        out.extend(self.display_rows(rows, labels, indent))
                    else:
                        self.display(val, indent + 4, out, rows_key=rows_key, labels_key=labels_key)
            elif rows_key:
                # dig deeper
                for key in sorted(ret):
                    val = ret[key]
                    self.display(val, indent, out, rows_key=rows_key, labels_key=labels_key)  # same indent
        elif isinstance(ret, (list, tuple)):
            if not rows_key:
                rows = ret
                out.extend(self.display_rows(rows, labels, indent))

        return out
1072797
public function display()
    {
        if (!$this->visible) {
            return;
        }

        parent::display();

        $table_tag = new SwatHtmlTag('table');
        $table_tag->id = $this->id;
        $table_tag->class = $this->getCSSClassString();

        $table_tag->open();
        $this->displayContent();
        $table_tag->close();

        Swat::displayInlineJavaScript($this->getInlineJavaScript());
    }
620530
public function navbar_plugin_output() {
        $output = '';

        // Give subsystems an opportunity to inject extra html content. The callback
        // must always return a string containing valid html.
        foreach (\core_component::get_core_subsystems() as $name => $path) {
            if ($path) {
                $output .= component_callback($name, 'render_navbar_output', [$this], '');
            }
        }

        if ($pluginsfunction = get_plugins_with_function('render_navbar_output')) {
            foreach ($pluginsfunction as $plugintype => $plugins) {
                foreach ($plugins as $pluginfunction) {
                    $output .= $pluginfunction($this);
                }
            }
        }

        return $output;
    }
1187480
public function display()
    {
        if (!$this->visible) {
            return;
        }

        SwatWidget::display();

        $toolbar_ul = new SwatHtmlTag('ul');
        $toolbar_ul->id = $this->id;
        $toolbar_ul->class = $this->getCSSClassString();

        $toolbar_ul->open();
        $this->displayChildren();
        $toolbar_ul->close();
    }
1257683
public function display()
    {
        if (!$this->visible) {
            return;
        }

        SwatWidget::display();

        $outer_div = new SwatHtmlTag('div');
        $outer_div->id = $this->id;
        $outer_div->class = $this->getCSSClassString();

        $outer_div->open();
        $this->displayTitle();
        $this->displayContent();
        $outer_div->close();
    }
1139553
public function displayHeader()
    {
        if ($this->title == '') {
            $title = '&nbsp;';
            $this->title_content_type = 'text/xml';
        } else {
            $title = $this->title;
        }

        if ($this->abbreviated_title === null) {
            if ($this->title_content_type === 'text/plain') {
                echo SwatString::minimizeEntities($title);
            } else {
                echo $title;
            }
        } else {
            $abbr_tag = new SwatHtmlTag('abbr');
            // Note: This always minimizes entities in titles regardless of
            // $this->title_content_type, as its a html tag attribute.
            $abbr_tag->title = SwatString::minimizeEntities($title);
            $abbr_tag->setContent(
                $this->abbreviated_title,
                $this->abbreviated_title_content_type
            );

            $abbr_tag->display();
        }
    }
385133
protected function renderNavigation()
    {
        $nav = array();
        if (!empty($this->wrapperOptions)) {
            $nav[] = \CHtml::openTag('div', $this->wrapperOptions);
        }
        $nav[] = \CHtml::openTag('nav', $this->htmlOptions);
        $nav[] = $this->renderTitle();
        $nav[] = $this->renderItems();
        $nav[] = \CHtml::closeTag('nav');

        if (!empty($this->wrapperOptions)) {
            $nav[] = \CHtml::closeTag('div');
        }
        return implode("\n", $nav);
    }
1344709
public function display()
    {
        if (!$this->visible) {
            return;
        }

        parent::display();

        $input_tag = $this->getInputTag();
        $input_tag->display();

        if (!$this->autocomplete) {
            $nonce_tag = new SwatHtmlTag('input');
            $nonce_tag->type = 'hidden';
            $nonce_tag->name = $this->id . '_nonce';
            $nonce_tag->value = $this->getNonce();
            $nonce_tag->display();
        }
    }
471963
def render(view)
      tags = []

      render_charset(tags)
      render_title(tags)
      render_icon(tags)
      render_with_normalization(tags, :description)
      render_with_normalization(tags, :keywords)
      render_refresh(tags)
      render_noindex(tags)
      render_alternate(tags)
      render_open_search(tags)
      render_links(tags)

      render_hashes(tags)
      render_custom(tags)

      tags.tap(&:compact!).map! { |tag| tag.render(view) }
      view.safe_join tags, MetaTags.config.minify_output ? "" : "\n"
    end
825600
public function display()
    {
        $options = $this->getOptions();

        if (!$this->visible || count($options) === 0) {
            return;
        }

        parent::display();

        // outer div is required because the check-all widget is outside the
        // unordered list
        $div_tag = new SwatHtmlTag('div');
        $div_tag->id = $this->id;
        $div_tag->class = $this->getCSSClassString();
        $div_tag->open();

        $current_column = 1;
        $current_option = 0;
        $columns = is_array($this->columns)
            ? $this->columns
            : array(
                ceil(
                    count($options) / ($this->columns > 0 ? $this->columns : 1)
                )
            );

        $multiple_columns = count($options) > $columns[0];
        $maximum_options = array_shift($columns);

        $ul_tag = new SwatHtmlTag('ul');
        if ($multiple_columns) {
            $ul_tag->id = sprintf('%s_column_%s', $this->id, $current_column);
            $ul_tag->class = 'swat-checkbox-list-column';
        }
        $ul_tag->open();

        foreach ($options as $index => $option) {
            if ($current_option == $maximum_options) {
                $ul_tag->close();

                $current_column++;
                $current_option = 0;
                $maximum_options =
                    count($columns) > 0
                        ? array_shift($columns)
                        : $maximum_options;

                $ul_tag->id = sprintf(
                    '%s_column_%s',
                    $this->id,
                    $current_column
                );

                $ul_tag->class = 'swat-checkbox-list-column';

                $ul_tag->open();
            }

            $current_option++;
            $this->displayOption($option, $index);
        }

        $ul_tag->close();

        // Show clear div if columns are used
        if ($multiple_columns) {
            echo '<div class="swat-clear"></div>';
        }

        // Show the check all if more than one checkable item is displayed.
        $check_all = $this->getCompositeWidget('check_all');
        $check_all->visible = $this->show_check_all && count($options) > 1;
        $check_all->display();

        $div_tag->close();

        Swat::displayInlineJavaScript($this->getInlineJavaScript());
    }
714269
public function display()
    {
        $bc = $this->get();
        $cnt = count($bc);
        if ($cnt > 0) {
            foreach ($bc as $item) {
                echo --$cnt ? "<a href=\"{$item['uri']}\" title=\"{$item['descr']}\">" : '';
                echo $item['title'];
                echo $cnt ? '</a>&nbsp;&raquo;&nbsp;' : '';
            }
            echo "\n";
        }
    }