Example #1
0
 /**
  * This constructor initializes the class with the specified data.
  *
  * @access public
  * @param mixed $data                                       the data to be written
  */
 public function __construct($data)
 {
     $this->data = Common\Collection::useObjects($data);
     $this->metadata = array('encoding' => array(Core\Data\Charset::UTF_8_ENCODING, Core\Data\Charset::UTF_8_ENCODING), 'ext' => '.xml', 'mime' => 'text/xml', 'minify' => array(), 'prototype' => true, 'url' => null);
 }