public function removeCue($_index) { if (isset($this->cues[$_index])) { unset($this->cues[$_index]); } return $this; }