classes/Kohana/Element.php
public function render($driver='Menu', $tpl=null, $active_recursive=false)
	{
		// Try to guess the current active Element item
		if ($this->_active_item_index === NULL)
		{
			$this->set_current(Route::name(Request::$initial->route()), $active_recursive);
		}

		return Kohana_Element_Render::factory($driver, $this, $tpl)->render();
	}
public function render($driver='Menu', $tpl=null, $active_recursive=false)
	{
		// Try to guess the current active Element item
		if ($this->_active_item_index === NULL)
		{
			$this->set_current(Route::name(Request::$initial->route()), $active_recursive);
		}

		return Kohana_Element_Render::factory($driver, $this, $tpl)->render();
	}
public function render ( $ driver = 'Menu' , $ tpl = null , $ active_recursive = false ) { // Try to guess the current active Element item if ( $ this -> _active_item_index === NULL ) { $ this -> set_current ( Route :: name ( Request :: $ initial -> route ( ) ) , $ active_recursive ) ; } return Kohana_Element_Render :: factory ( $ driver , $ this , $ tpl ) -> render ( ) ; }
Render the Element into HTML

@since 2.0
@return string the rendered view
Render the Element into HTML