protected static function initializeRows($template)
	{
		$layout = Bootstrap::getLayout();

		switch($layout->rows)
		{
			case '2rwh':
				$template->headerClass           = $layout->bootstrap_headerClass;

				$template->headerClassAttribute = sprintf(static::$classAttribute, $layout->bootstrap_headerClass);
				break;

			case '2rwf':
				$template->footerClass           = $layout->bootstrap_footerClass;

				$template->footerClassAttribute = sprintf(static::$classAttribute, $layout->bootstrap_footerClass);
				break;

			case '3rw':
				$template->headerClass           = $layout->bootstrap_headerClass;
				$template->footerClass           = $layout->bootstrap_footerClass;

				$template->headerClassAttribute = sprintf(static::$classAttribute, $layout->bootstrap_headerClass);
				$template->footerClassAttribute = sprintf(static::$classAttribute, $layout->bootstrap_footerClass);
				break;
		}
	}
protected static function initializeRows($template)
	{
		$layout = Bootstrap::getLayout();

		switch($layout->rows)
		{
			case '2rwh':
				$template->headerClass           = $layout->bootstrap_headerClass;

				$template->headerClassAttribute = sprintf(static::$classAttribute, $layout->bootstrap_headerClass);
				break;

			case '2rwf':
				$template->footerClass           = $layout->bootstrap_footerClass;

				$template->footerClassAttribute = sprintf(static::$classAttribute, $layout->bootstrap_footerClass);
				break;

			case '3rw':
				$template->headerClass           = $layout->bootstrap_headerClass;
				$template->footerClass           = $layout->bootstrap_footerClass;

				$template->headerClassAttribute = sprintf(static::$classAttribute, $layout->bootstrap_headerClass);
				$template->footerClassAttribute = sprintf(static::$classAttribute, $layout->bootstrap_footerClass);
				break;
		}
	}
protected static function initializeRows ( $ template ) { $ layout = Bootstrap :: getLayout ( ) ; switch ( $ layout -> rows ) { case '2rwh' : $ template -> headerClass = $ layout -> bootstrap_headerClass ; $ template -> headerClassAttribute = sprintf ( static :: $ classAttribute , $ layout -> bootstrap_headerClass ) ; break ; case '2rwf' : $ template -> footerClass = $ layout -> bootstrap_footerClass ; $ template -> footerClassAttribute = sprintf ( static :: $ classAttribute , $ layout -> bootstrap_footerClass ) ; break ; case '3rw' : $ template -> headerClass = $ layout -> bootstrap_headerClass ; $ template -> footerClass = $ layout -> bootstrap_footerClass ; $ template -> headerClassAttribute = sprintf ( static :: $ classAttribute , $ layout -> bootstrap_headerClass ) ; $ template -> footerClassAttribute = sprintf ( static :: $ classAttribute , $ layout -> bootstrap_footerClass ) ; break ; } }
initialize layout rows

creates headerClass, footerClass, headerClassAttribute, footerClassAttribute

@param \Template $template
initialize layout rows