Captioning\Cue::setStop PHP Method

setStop() public method

public setStop ( mixed $_stop )
$_stop mixed
    public function setStop($_stop)
    {
        $this->stop = $_stop;
        $cueClass = get_class($this);
        $this->stopMS = $cueClass::tc2ms($this->stop);
        return $this;
    }

Usage Example

Exemplo n.º 1
0
 /**
  * @param mixed $_stop
  * @return $this
  */
 public function setStop($_stop)
 {
     parent::setStop($_stop);
     if ($this->start) {
         $this->duration = $this->stop - $this->start;
     }
     return $this;
 }