⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 custom.php

📁 视频监控网络部分的协议ddns,的模块的实现代码,请大家大胆指正.
💻 PHP
字号:
<?php
/**
 * How to customize HTML_Progress_Generator usage.
 *
 * @version    $Id: custom.php,v 1.2 2005/07/25 12:52:14 farell Exp $
 * @author     Laurent Laville <pear@laurent-laville.org>
 * @package    HTML_Progress
 * @subpackage Examples
 */

require_once 'HTML/Progress/generator.php';

/* 1. Choose between standard renderers (default, HTMLPage, ITDynamic).
      If none is selected, then 'default' will be used.
      It can be automatically loaded and added by the controller
 */
//require_once 'HTML/Progress/generator/default.php';
//require_once 'HTML/Progress/generator/HTMLPage.php';
//require_once 'HTML/Progress/generator/ITDynamic.php';
/*    Or creates your own renderer ...
 */

session_start();

$tabbed = new HTML_Progress_Generator();

/* 2. 'ActionDisplay' is default classname that should exists
      to manage wizard/tabbed display. But you can also create
      your own class under a new name. Then you've to give
      the new name to HTML_Progress_Generator.
      For example:

      class MyDisplayHandler extends HTML_QuickForm_Action_Display
      {
           ...
      }
      If your 'MyDisplayHandler' class is not defined, then default
      'ActionDisplay' ('HTML/Progress/generator/default.php')
      will be used.
 */
//$tabbed = new HTML_Progress_Generator('PBwizard2',array('display'=>'MyDisplayHandler'));

/* 3. 'ActionPreview' is default classname that should exists
      to run live progress bar demo. But you can also create
      your own class under a new name. Then you've to give
      the new name to HTML_Progress_Generator.
      For example:

      class MyPreviewHandler extends HTML_QuickForm_Action
      {
           ...
      }
      If your 'MyPreviewHandler' class is not defined, then default
      'ActionPreview' ('HTML/Progress/generator/preview.php')
      will be used.

      YES, but why allow to cutomize preview function ?
      PERHARPS, because you want to do something else than just
      run your progress bar new look and feel !
 */
//$tabbed = new HTML_Progress_Generator('PBwizard3',array('preview'=>'MyPreviewHandler'));

/* 4. 'ActionProcess' is default classname that should exists
      to save your progress bar php/css source-code. But you can also create
      your own class under a new name. Then you've to give
      the new name to HTML_Progress_Generator.
      For example:

      class MyProcessHandler extends HTML_QuickForm_Action
      {
           ...
      }
      If your 'MyProcessHandler' class is not defined, then default
      'ActionProcess' ('HTML/Progress/generator/process.php')
      will be used.
 */
//$tabbed = new HTML_Progress_Generator('PBwizard4',array('process'=>'MyProcessHandler'));


$tabbed->run();
?>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -