/** * Close the writer */ public function close() { // Write the footer $this->_append(" </tracklist>\n"); $this->_append("</playlist>"); parent::close(); }
/** * Close the writer */ public function close() { // Write the header $this->_prepend("[playlist]\nNumberOfEntries=" . $this->_fileCount . "\n\n"); // Write the footer $this->_append("Version=2"); parent::close(); }
/** * Close the writer */ public function close() { // Write the footer $this->_append("</asx>"); parent::close(); }
/** * Set the target file path * * @param string $path File path */ public function setFilePath($path) { parent::setFilePath($path); // Write the header $this->_append("#EXTM3U\n"); }