Ejemplo n.º 1
0
 /**
  * Constructs the progress reporter. This will not output HTML just yet,
  * until the required delay time expires.
  *
  * @param string $heading Text to display above bar (if it appears); '' for none (default)
  * @param int $delay Delay time (default 5 seconds)
  */
 public function __construct($heading = '', $delay = self::DEFAULT_DISPLAY_DELAY)
 {
     // Set start time based on delay.
     $this->starttime = time() + $delay;
     $this->heading = $heading;
     parent::__construct(false);
 }
Ejemplo n.º 2
0
 function __construct($title, $type)
 {
     parent::__construct($title, $type);
 }