/** * Set the target file path * * @param string $path File path */ public function setFilePath($path) { parent::setFilePath($path); // Write the header $this->_append('<?xml version="1.0" encoding="UTF-8"?' . ">\n"); $this->_append('<playlist version="1" xmlns="http://xspf.org/ns/0/">' . "\n"); $this->_append(' <trackList>' . "\n"); }
/** * Set the target file path * * @param string $path File path */ public function setFilePath($path) { parent::setFilePath($path); // Write the header $this->_append('<asx version="3.0">' . "\n"); }
/** * Set the target file path * * @param string $path File path */ public function setFilePath($path) { parent::setFilePath($path); // Write the header $this->_append("#EXTM3U\n"); }