PHP Class Captioning\Format\JsonCue

Inheritance: extends Captioning\Cue
Show file Open project: captioning/captioning Class Usage Examples

Protected Properties

Property Type Description
$duration mixed
$startOfParagraph boolean

Public Methods

Method Description
getDuration ( ) : integer
isStartOfParagraph ( ) : boolean
setDuration ( $duration )
setStart ( mixed $_start )
setStartOfParagraph ( $startOfParagraph )
setStop ( mixed $_stop )
tc2ms ( string $_timecode ) : null

Method Details

getDuration() public method

public getDuration ( ) : integer
return integer

isStartOfParagraph() public method

public isStartOfParagraph ( ) : boolean
return boolean

setDuration() public method

public setDuration ( $duration )
$duration

setStart() public method

public setStart ( mixed $_start )
$_start mixed

setStartOfParagraph() public method

public setStartOfParagraph ( $startOfParagraph )
$startOfParagraph

setStop() public method

public setStop ( mixed $_stop )
$_stop mixed

tc2ms() public static method

public static tc2ms ( string $_timecode ) : null
$_timecode string
return null

Property Details

$duration protected property

protected mixed $duration
return mixed

$startOfParagraph protected property

protected bool $startOfParagraph
return boolean