You are here

public function PHPVideoToolkit::timecodeToSeconds in Video 7

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

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

Parameters

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

File

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

Class

PHPVideoToolkit

Code

public function timecodeToSeconds($input_timecode = '00:00:00') {
  return $this
    ->formatTimecode($input_timecode, '%hh:%mm:%ss', '%st');
}