Property | Type | Description | |
---|---|---|---|
$lineEnding | string | ||
$start | mixed | ||
$startMS | integer | ||
$stop | mixed | ||
$stopMS | integer | ||
$text | string | ||
$textLines | array |
Method | Description | |
---|---|---|
__construct ( mixed $_start, mixed $_stop, string $_text = '' ) | Cue constructor. | |
addTextLine ( string $_line ) | ||
getCPS ( ) : float | ||
getDuration ( ) : integer | ||
getFormat ( captioning\CueInterface $_cue ) : mixed | ||
getReadingSpeed ( ) | Computes Reading Speed (based on VisualSubSync algorithm) | |
getStart ( ) : mixed | ||
getStartMS ( ) : integer | ||
getStop ( ) : mixed | ||
getStopMS ( ) : integer | ||
getText ( ) : string | ||
getTextLine ( integer $_index ) : string | null | ||
getTextLines ( ) : array | ||
ms2tc ( integer $ms, string $_separator = '.', $isHoursPaddingEnabled = true ) : string | ||
scale ( $_baseTime, integer $_factor = 1 ) : boolean | ||
setLineEnding ( string $_lineEnding ) | ||
setStart ( mixed $_start ) | ||
setStartMS ( integer $_startMS ) | ||
setStop ( mixed $_stop ) | ||
setStopMS ( integer $_stopMS ) | ||
setText ( string $_text ) | ||
shift ( integer $_time ) | Set a delay (positive or negative) | |
strlen ( ) : integer |
Method | Description | |
---|---|---|
getLastTimeCodePart ( integer $tc_ms ) : string |
Method | Description | |
---|---|---|
parseTextLines ( $_text ) |
protected static getLastTimeCodePart ( integer $tc_ms ) : string | ||
$tc_ms | integer | |
return | string |
public getReadingSpeed ( ) |