PEAR Progress2 logo

HTML_Progress2 : The Definitive Guide

Name

HTML_Progress2::getScript — Returns javascript progress meter handler

Synopsis

      require_once 'HTML/Progress2.php';
     
string HTML_Progress2::getScript( $raw = TRUE);  
boolean   $raw = TRUE;

Description

Get the javascript URL or inline code that will handle the progress meter refresh.

Parameter

boolean $raw

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

See

see HTML_Progress2::setScript

Throws

throws HTML_PROGRESS2_ERROR_INVALID_INPUT

Note

since 2.0.0

This function can not be called statically.

HTML_Progress2 : The Definitive Guide v 2.4.0 : April 20, 2007