Swat/SwatNavBar.php
public function createEntry(
        $title,
        $link = null,
        $content_type = 'text/plain'
    ) {
        $this->addEntry(new SwatNavBarEntry($title, $link, $content_type));
    }
public function createEntry(
        $title,
        $link = null,
        $content_type = 'text/plain'
    ) {
        $this->addEntry(new SwatNavBarEntry($title, $link, $content_type));
    }
public function createEntry ( $ title , $ link = null , $ content_type = 'text/plain' ) { $ this -> addEntry ( new SwatNavBarEntry ( $ title , $ link , $ content_type ) ) ; }
Creates a SwatNavBarEntry and adds it to the end of this navigation bar

@param string $title the entry title.
@param string $link an optional entry URI.
@param string $content_type an optional content type for the entry title.
Creates a SwatNavBarEntry and adds it to the end of this navigation bar