. * * @file * @ingroup Skins */ namespace Skins\Chameleon\Components\NavbarHorizontal; use Skins\Chameleon\Components\Component; use Skins\Chameleon\Components\SearchBar as GenericSearchBar; /** * The NavbarHorizontal\PersonalTools class. * * Provides a SearchBar component to be included in a NavbarHorizontal component. * * @author Stephan Gambke * @since 1.6 * @ingroup Skins */ class SearchBar extends Component { /** * @return String */ public function getHtml() { $search = new GenericSearchBar( $this->getSkinTemplate(), $this->getDomElement(), $this->getIndent() ); $search->addClasses( 'navbar-form' ); return $search->getHtml(); } }