public function position($position, $style='none')
	{
		if (!is_array($style))
		{
			$style = array('style' => $style);
		}

		$contents = '';
		foreach ($this->byPosition($position) as $mod)
		{
			$contents .= $this->render($mod, $style);
		}

		return $contents;
	}
public function position($position, $style='none')
	{
		if (!is_array($style))
		{
			$style = array('style' => $style);
		}

		$contents = '';
		foreach ($this->byPosition($position) as $mod)
		{
			$contents .= $this->render($mod, $style);
		}

		return $contents;
	}
public function position ( $ position , $ style = 'none' ) { if ( ! is_array ( $ style ) ) { $ style = array ( 'style' => $ style ) ; } $ contents = '' ; foreach ( $ this -> byPosition ( $ position ) as $ mod ) { $ contents .= $ this -> render ( $ mod , $ style ) ; } return $ contents ; }
Render modules for a position

@param   string  $position  Position to render modules for
@param   string  $style     Module style (deprecated?)
@return  string  HTML
Render modules for a position