src/php/main/Eix/Core/Responses/Http/Media/XslPage.php
protected function prepare()
    {
        // Set data into dataDocument structure;
        if (is_array($this->data)) {
            foreach ($this->data as $key => $value) {
                $this->addData($key, $value);
            }
        }

     Logger::get()->debug("Response data:\n" . $this->dataDocument->toString(false));

        // Merge data with template.
        $this->document = $this->dataDocument->transform($this->getTemplate());
    }
protected function prepare()
    {
        // Set data into dataDocument structure;
        if (is_array($this->data)) {
            foreach ($this->data as $key => $value) {
                $this->addData($key, $value);
            }
        }

     Logger::get()->debug("Response data:\n" . $this->dataDocument->toString(false));

        // Merge data with template.
        $this->document = $this->dataDocument->transform($this->getTemplate());
    }
protected function prepare ( ) { // Set data into dataDocument structure; if ( is_array ( $ this -> data ) ) { foreach ( $ this -> data as $ key => $ value ) { $ this -> addData ( $ key , $ value ) ; } } Logger :: get ( ) -> debug ( "Response data:\n" . $ this -> dataDocument -> toString ( false ) ) ; // Merge data with template. $ this -> document = $ this -> dataDocument -> transform ( $ this -> getTemplate ( ) ) ; }
Prepares the document by merging
the template and the data.
Prepares the document by merging the template and the data .