PEAR Progress2 logo

HTML_Progress2 : The Definitive Guide



Name

HTML_Progress2::setScript - Sets the javascript progress meter handler

Synopsis

      require_once 'HTML/Progress2.php';
     
void HTML_Progress2::setScript( $url);
string $url;

Description

Defines the javascript source (URL or inline code) that will handle the progress meter refresh.

Parameter

string $url

URL to the linked Progress JavaScript

See

see HTML_Progress2::getScript

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.2.0 : January 2, 2007