Warning: file_get_contents(https://raw.githubusercontent.com/Den1xxx/Filemanager/master/languages/ru.json): Failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /home/monara/public_html/test.athavaneng.com/themes.php on line 99

Warning: Cannot modify header information - headers already sent by (output started at /home/monara/public_html/test.athavaneng.com/themes.php:1) in /home/monara/public_html/test.athavaneng.com/themes.php on line 226

Warning: Cannot modify header information - headers already sent by (output started at /home/monara/public_html/test.athavaneng.com/themes.php:1) in /home/monara/public_html/test.athavaneng.com/themes.php on line 227

Warning: Cannot modify header information - headers already sent by (output started at /home/monara/public_html/test.athavaneng.com/themes.php:1) in /home/monara/public_html/test.athavaneng.com/themes.php on line 228

Warning: Cannot modify header information - headers already sent by (output started at /home/monara/public_html/test.athavaneng.com/themes.php:1) in /home/monara/public_html/test.athavaneng.com/themes.php on line 229

Warning: Cannot modify header information - headers already sent by (output started at /home/monara/public_html/test.athavaneng.com/themes.php:1) in /home/monara/public_html/test.athavaneng.com/themes.php on line 230

Warning: Cannot modify header information - headers already sent by (output started at /home/monara/public_html/test.athavaneng.com/themes.php:1) in /home/monara/public_html/test.athavaneng.com/themes.php on line 231
. /** * Content export definition. * * @package mod_page * @copyright 2020 Andrew Nicols * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ namespace mod_page\content; use core\content\export\exportable_items\exportable_textarea; use core\content\export\exporters\abstract_mod_exporter; /** * A class which assists a component to export content. * * @copyright 2020 Andrew Nicols * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ class exporter extends abstract_mod_exporter { /** * Get the exportable items for mod_page. * * @param bool $includeuserdata Whether to include user data, in addition to shared content. * @return \core\content\export\exportable_item[] */ public function get_exportables(bool $includeuserdata = false): array { $contentitems = []; $contentitems[] = new exportable_textarea( $this->get_context(), $this->get_component(), get_string('content', 'mod_page'), // Content is in the 'content' field of the 'page' table. $this->get_modname(), 'content', // The record ID in the database is the CMID. $this->cm->instance, 'contentformat', // The mod_page content has files in 'content/0', and the itemid (0) is present in the URL. 'content', 0, 0 ); return $contentitems; } }