public function loadFromString($_str) { // Clear cues from previous runs $this->cues = array(); $this->fileContent = $_str; $this->encode(); $this->parse(); return $this; }