HTML_Progress2
[ class tree: HTML_Progress2 ] [ index: HTML_Progress2 ] [ all elements ]

Class: HTML_Progress2_Ajax_StdDOMxml

Source Location: /HTML_Progress2-2.3.0a1/Progress2/Ajax/StdDOMxml.php

Class Overview

HTML_Progress2_Ajax_Common
   |
   --HTML_Progress2_Ajax_StdDOMxml

Ajax standard DOM XML driver class.


Author(s):

Version:

  • Release: @package_version@

Copyright:

  • 2007 The PHP Group

Methods


Inherited Variables

Inherited Methods

Class: HTML_Progress2_Ajax_Common

HTML_Progress2_Ajax_Common::__construct()
Constructor (ZE2) Summary
HTML_Progress2_Ajax_Common::getRequestMethod()
get HTTP Ajax requests method.
HTML_Progress2_Ajax_Common::getRequestTimeout()
get the timeout between each polling loop.
HTML_Progress2_Ajax_Common::getRequestUri()
get URL that handle Ajax requests.
HTML_Progress2_Ajax_Common::getScript()
Returns javascript progress meter handler.
HTML_Progress2_Ajax_Common::getUrlArguments()
get action arguments to handle task id.
HTML_Progress2_Ajax_Common::setRequestMethod()
set HTTP Ajax requests method.
HTML_Progress2_Ajax_Common::setRequestTimeout()
set timeout between each polling loop.
HTML_Progress2_Ajax_Common::setRequestUri()
set URL to handle Ajax requests.
HTML_Progress2_Ajax_Common::setUrlArguments()
set action arguments to handle task id.

Class Details

[line 57]
Ajax standard DOM XML driver class.

Provide handler of standard DOM XML usage. Available on all browsers Ajax compliant.

Here is a basic example:

  1.  <?php
  2.  require_once 'HTML/Progress2.php';
  3.  
  4.  $pb = new HTML_Progress2();
  5.  // try to register the standard DOM XML Ajax driver
  6.  $ae $pb->registerAjax();
  7.  if ($ae{
  8.    $ae->setRequestUri();
  9.    $ae->setRequestMethod('post');
  10.    $ae->setRequestTimeout(2500);
  11.    $ae->setUrlArguments('startTask''targetId');
  12.  }
  13.  ?>



[ Top ]


Method Detail

__construct (Constructor)   [line 90]

HTML_Progress2_Ajax_StdDOMxml __construct( &$obj, object $obj)

Constructor (ZE2) Summary

Creates an Ajax progress-meter default driver


Overrides HTML_Progress2_Ajax_Common::__construct() (Constructor (ZE2) Summary)

Parameters:

object   $obj   —  reference to a progress2 object
   &$obj   — 

[ Top ]

HTML_Progress2_Ajax_StdDOMxml (Constructor)   [line 72]

HTML_Progress2_Ajax_StdDOMxml HTML_Progress2_Ajax_StdDOMxml( &$obj, object $obj)

Constructor (ZE1)

Creates an Ajax progress-meter default driver


Parameters:

object   $obj   —  reference to a progress2 object
   &$obj   — 

[ Top ]

getScript   [line 108]

string getScript( [boolean $raw = true])

Returns javascript progress meter handler.

Ajax code to handle the progress meter polling sequence.


Overrides HTML_Progress2_Ajax_Common::getScript() (Returns javascript progress meter handler.)

Parameters:

boolean   $raw   —  (optional) html output with script tags or just raw data

[ Top ]


Documentation generated on Mon, 11 Mar 2019 14:54:31 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.