PHP Class rtProgress, rtMedia

Author: saurabh
显示文件 Open project: rtCamp/rtMedia Class Usage Examples

Public Methods

Method Description
__construct ( ) : void Constructor
progress ( float $progress, float $total ) : float Calculate progress %.
progress_ui ( float $progress, boolean $echo = true ) : string Show progress_ui.

Method Details

__construct() public method

Constructor
public __construct ( ) : void
return void

progress() public method

Calculate progress %.
public progress ( float $progress, float $total ) : float
$progress float
$total float
return float

progress_ui() public method

Show progress_ui.
public progress_ui ( float $progress, boolean $echo = true ) : string
$progress float
$echo boolean
return string $progress_ui