public function setContent($layout)
	{
		$content = '';

		$state_array = $this->getStateArray();
		foreach($state_array as $state_key => $state)
		{
			$content.=$state->getForm();
		}
		$layout->content = $content;
	}
public function setContent($layout)
	{
		$content = '';

		$state_array = $this->getStateArray();
		foreach($state_array as $state_key => $state)
		{
			$content.=$state->getForm();
		}
		$layout->content = $content;
	}
public function setContent ( $ layout ) { $ content = '' ; $ state_array = $ this -> getStateArray ( ) ; foreach ( $ state_array as $ state_key => $ state ) { $ content .= $ state -> getForm ( ) ; } $ layout -> content = $ content ; }
Fill layout content with forms
Fill layout content with forms