Ejemplo n.º 1
0
 /**
  * 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");
 }
Ejemplo n.º 2
0
 /**
  * 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");
 }
Ejemplo n.º 3
0
 /**
  * Set the target file path
  *
  * @param   string      $path           File path
  */
 public function setFilePath($path)
 {
     parent::setFilePath($path);
     // Write the header
     $this->_append("#EXTM3U\n");
 }