fuel/fuel/core/classes/theme.php
public function set_chrome($section, $view, $var = 'content')
	{
		// make sure the chrome is a view
		if (is_string($view))
		{
			$view = $this->view($view);
		}

		$this->chrome[$section] = array('var' => $var, 'view' => $view);

		return $view;
	}
public function set_chrome($section, $view, $var = 'content')
	{
		// make sure the chrome is a view
		if (is_string($view))
		{
			$view = $this->view($view);
		}

		$this->chrome[$section] = array('var' => $var, 'view' => $view);

		return $view;
	}
public function set_chrome ( $ section , $ view , $ var = 'content' ) { // make sure the chrome is a view if ( is_string ( $ view ) ) { $ view = $ this -> view ( $ view ) ; } $ this -> chrome [ $ section ] = array ( 'var' => $ var , 'view' => $ view ) ; return $ view ; }
Sets a chrome for a partial

@param   string  						$section	Name of the partial section in the template
@param   string|View|ViewModel|Presenter	$view   	chrome View, or name of the view
@param   string  						$var		Name of the variable in the chome that will output the partial

@return  View|ViewModel|Presenter, the view partial
Sets a chrome for a partial