Inheritance: implements captioning\CueInterface
Example #1
0
 public function getText($_stripTags = false, $_stripBasic = false, $_replacements = array())
 {
     parent::getText();
     if ($_stripTags) {
         return $this->getStrippedText($_stripBasic, $_replacements);
     }
     return $this->text;
 }
Example #2
0
 /**
  * @param mixed $_stop
  * @return $this
  */
 public function setStop($_stop)
 {
     parent::setStop($_stop);
     if ($this->start) {
         $this->duration = $this->stop - $this->start;
     }
     return $this;
 }
 public function __construct($_start, $_stop, $_text = null, $_layer = 0, $_style = 'Default', $_name = '', $_marginL = '0000', $_marginR = '0000', $_marginV = '0000', $_effect = '')
 {
     parent::__construct($_start, $_stop, $_text);
     $this->layer = $_layer;
     $this->style = $_style;
     $this->name = $_name;
     $this->marginL = $_marginL;
     $this->marginR = $_marginR;
     $this->marginV = $_marginV;
     $this->effect = $_effect;
 }
Example #4
0
 /**
  * @param int $ms
  * @param string $_separator
  * @return string
  */
 public static function ms2tc($ms, $_separator = '.')
 {
     return parent::ms2tc($ms, $_separator);
 }
 public static function ms2tc($ms)
 {
     return parent::ms2tc($ms, '.', false);
 }