Captioning\Cue::setStart PHP Метод

setStart() публичный Метод

public setStart ( mixed $_start )
$_start mixed
    public function setStart($_start)
    {
        $this->start = $_start;
        $cueClass = get_class($this);
        $this->startMS = $cueClass::tc2ms($this->start);
        return $this;
    }

Usage Example

Пример #1
0
 /**
  * @param mixed $_start
  * @return $this
  */
 public function setStart($_start)
 {
     parent::setStart($_start);
     if ($this->stop) {
         $this->duration = $this->stop - $this->start;
     }
     return $this;
 }