xhtml_table.php
来自「视频监控网络部分的协议ddns,的模块的实现代码,请大家大胆指正.」· PHP 代码 · 共 64 行
PHP
64 行
<?php/* vim: set expandtab tabstop=4 shiftwidth=4: */// +----------------------------------------------------------------------+// | PHP version 4 |// +----------------------------------------------------------------------+// | Copyright (c) 1997-2004 The PHP Group |// +----------------------------------------------------------------------+// | This source file is subject to version 3.0 of the PHP license, |// | that is bundled with this package in the file LICENSE, and is |// | available through the world-wide-web at the following url: |// | http://www.php.net/license/3_0.txt. |// | If you did not receive a copy of the PHP license and are unable to |// | obtain it through the world-wide-web, please send a note to |// | license@php.net so we can mail you a copy immediately. |// +----------------------------------------------------------------------+// | Authors: Frederic Poeydomenge <fpoeydomenge at free dot fr> |// +----------------------------------------------------------------------+//// $Id$require_once 'Var_Dump/Renderer/Table.php';/** * A concrete renderer for Var_Dump * * Returns a table-based representation of a variable in XHTML * Extends the 'Table' renderer, with just a predefined set of options, * that are empty by default. You can also directly call the 'Table' renderer * with the corresponding configuration options. * * @package Var_Dump * @category PHP * @author Frederic Poeydomenge <fpoeydomenge at free dot fr> */class Var_Dump_Renderer_XHTML_Table extends Var_Dump_Renderer_Table{ /** * Class constructor. * * @param array $options Parameters for the rendering. * @access public */ function Var_Dump_Renderer_XHTML_Table($options = array()) { // See Var_Dump/Renderer/Table.php for the complete list of options $this->defaultOptions = array_merge( $this->defaultOptions, array( 'before_type' => '<i>', 'after_type' => '</i>', 'start_table' => '<table class="var_dump">', 'start_tr_alt' => '<tr class="alt">', 'start_td_key' => '<th>', 'end_td_key' => '</th>' ) ); $this->setOptions($options); }}?>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?