You are here

public function PHPVideoToolkit::secondsToTimecode in Video 7

Same name and namespace in other branches
  1. 7.2 libraries/phpvideotoolkit/phpvideotoolkit.php5.php \PHPVideoToolkit::secondsToTimecode()

* Translates a number of seconds to a timecode. * NOTE: this is now a depreciated, use formatSeconds() instead. * * @depreciated Use formatSeconds() instead. * @access public * @uses PHPVideoToolkit::formatSeconds() *

Parameters

integer $input_seconds The number of seconds you want to calculate the timecode for.:

File

libraries/phpvideotoolkit/phpvideotoolkit.php5.php, line 2398

Class

PHPVideoToolkit

Code

public function secondsToTimecode($input_seconds = 0) {
  return $this
    ->formatSeconds($input_seconds, '%hh:%mm:%ss');
}