| // +----------------------------------------------------------------------+ /** * Layout rendering class. * * @category Visualizer * @package Render */ class Visualizer_Render_Layout extends Visualizer_Render { /** * Renders template. * * @since 1.0.0 * * @abstract * @access protected */ protected function _toHTML() { // empty. } /** * Show the layout by delegating the call to the layout-specific method with the params. * * @access public */ public static function show( $layout ) { return call_user_func( array( __CLASS__, '_render' . str_replace( ' ', '', ucwords( str_replace( '-', ' ', $layout ) ) ) ), func_get_args() ); } /** * Show the fake editor (just an empty div). * * @access public */ public static function _renderFauxEditor( $args ) { echo ''; } /** * Show the DB query box. * * @access public */ public static function _renderDbQuery( $args ) { $query = $args[1]; ?> ' . $header['label'] . ''; } ?> '; foreach ( $result as $r ) { echo ''; } echo ''; } ?>
' . $r . '