src/UI/HTML/Exception/Page.php
public static function wrapExceptionView( $view )
	{
		$page	= new UI_HTML_PageFrame();
		$page->setTitle( 'Exception' );
		$page->addJavaScript( '//cdn.ceusmedia.de/js/jquery/1.4.2.min.js' );
		$page->addJavaScript( '//cdn.ceusmedia.de/js/jquery/cmExceptionView/0.1.js' );
		$page->addStylesheet( '//cdn.ceusmedia.de/js/jquery/cmExceptionView/0.1.css' );
		$page->addStylesheet( '//cdn.ceusmedia.de/css/bootstrap.min.css' );
		$options	= array( 'foldTraces' => TRUE );
		$script		= UI_HTML_JQuery::buildPluginCall( 'cmExceptionView', 'dl.exception', $options );
		$page->addHead( UI_HTML_Tag::create( 'script', $script ) );
		$page->addBody( UI_HTML_Tag::create( 'h2', 'Error' ).$view );
		return $page->build( array( 'style' => 'margin: 1em' ) );
	}
public static function wrapExceptionView( $view )
	{
		$page	= new UI_HTML_PageFrame();
		$page->setTitle( 'Exception' );
		$page->addJavaScript( '//cdn.ceusmedia.de/js/jquery/1.4.2.min.js' );
		$page->addJavaScript( '//cdn.ceusmedia.de/js/jquery/cmExceptionView/0.1.js' );
		$page->addStylesheet( '//cdn.ceusmedia.de/js/jquery/cmExceptionView/0.1.css' );
		$page->addStylesheet( '//cdn.ceusmedia.de/css/bootstrap.min.css' );
		$options	= array( 'foldTraces' => TRUE );
		$script		= UI_HTML_JQuery::buildPluginCall( 'cmExceptionView', 'dl.exception', $options );
		$page->addHead( UI_HTML_Tag::create( 'script', $script ) );
		$page->addBody( UI_HTML_Tag::create( 'h2', 'Error' ).$view );
		return $page->build( array( 'style' => 'margin: 1em' ) );
	}
public static function wrapExceptionView ( $ view ) { $ page = new UI_HTML_PageFrame ( ) ; $ page -> setTitle ( 'Exception' ) ; $ page -> addJavaScript ( '//cdn.ceusmedia.de/js/jquery/1.4.2.min.js' ) ; $ page -> addJavaScript ( '//cdn.ceusmedia.de/js/jquery/cmExceptionView/0.1.js' ) ; $ page -> addStylesheet ( '//cdn.ceusmedia.de/js/jquery/cmExceptionView/0.1.css' ) ; $ page -> addStylesheet ( '//cdn.ceusmedia.de/css/bootstrap.min.css' ) ; $ options = array ( 'foldTraces' => TRUE ) ; $ script = UI_HTML_JQuery :: buildPluginCall ( 'cmExceptionView' , 'dl.exception' , $ options ) ; $ page -> addHead ( UI_HTML_Tag :: create ( 'script' , $ script ) ) ; $ page -> addBody ( UI_HTML_Tag :: create ( 'h2' , 'Error' ) . $ view ) ; return $ page -> build ( array ( 'style' => 'margin: 1em' ) ) ; }
Wraps an Exception View to an Exception Page.
@access		public
@param		UI_HTML_Exception_View	$view		Exception View
@return		string
Wraps an Exception View to an Exception Page .