PEAR Progress2 logo

HTML_Progress2 : The Definitive Guide

Name

HTML_Progress2::setAnimSpeed — Sets delay execution of the progress meter

Synopsis

      require_once 'HTML/Progress2.php';
     
void HTML_Progress2::setAnimSpeed( $delay);  
integer   $delay;

Description

The delay (in milisecond) cannot exceed 1000 (1 second), that is enough to smooth an animation. User process should slow down animation and in most case the default value (zero) will be efficient.

Parameter

integer $delay

Delay in milisecond.

See

see HTML_Progress2::getAnimSpeed

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