MDL-34441 cleanup dtl related phpdocs and minor style improvements
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
<?php
|
||||
|
||||
// This file is part of Moodle - http://moodle.org/
|
||||
//
|
||||
// Moodle is free software: you can redistribute it and/or modify
|
||||
@@ -15,12 +14,10 @@
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
/**
|
||||
* XML format exporter class to memory storage
|
||||
*
|
||||
* @package core
|
||||
* @subpackage dtl
|
||||
* @package core_dtl
|
||||
* @copyright 2008 Andrei Bautu
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
@@ -31,11 +28,12 @@ defined('MOODLE_INTERNAL') || die();
|
||||
* XML format exporter class to memory storage (i.e. a string).
|
||||
*/
|
||||
class string_xml_database_exporter extends xml_database_exporter {
|
||||
/** String with XML data. */
|
||||
/** @var string String with XML data. */
|
||||
protected $data;
|
||||
|
||||
/**
|
||||
* Specific output method for the memory XML sink.
|
||||
* @param string $text
|
||||
*/
|
||||
protected function output($text) {
|
||||
$this->data .= $text;
|
||||
|
||||
Reference in New Issue
Block a user