HTML_Progress::getListeners

HTML_Progress

Prev |  | Next
HTML_Progress::getListeners returns a list of current listeners attached on the progress meter ## Synopsis require_once 'HTML/Progress.php'; array HTML_Progress::getListeners() ## Description This method is used to know what are the listeners object attached on a progress meter. ## Note ( HTML_Progress >= 1.0 )
| This function can not be called statically.
## See HTML_Progress::addListener, HTML_Progress::removeListener ## Example

    <?php
    require_once 'HTML/Progress/monitor.php';

    $bar = new HTML_Progress();
    $mon = new HTML_Progress_Monitor();

    $bar->addListener($mon);
    $li = $bar->getListeners();
    printf("%d listener(s) <br/>", count($li));
    ?>
Prev | Up | Next
HTML_Progress::removeListener | Reference Guide | HTML_Progress::raiseError
Documentation generated on Sun, 12 Sep 2004 20:23:13 +0200 by phpDocumentor 1.3.0RC3