[ Index ] |
PHP Cross Reference of Unnamed Project |
[Source view] [Print] [Project Stats]
Defines backup_theme_plugin class
Copyright: | 2011 onwards The Open University |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 81 lines (3 kb) |
Included or required: | 0 times |
Referenced: | 1 time |
Includes or requires: | 0 files |
__construct($plugintype, $pluginname, $optigroup, $step) X-Ref |
param: string $plugintype Plugin type (always 'theme') param: string $pluginname Plugin name (name of theme) param: backup_optigroup $optigroup Group that will contain this data param: backup_course_structure_step $step Backup step that this is part of |
get_theme_condition() X-Ref |
Return condition for whether this theme should be backed up (= if it is the same theme as the one used in this course). This condition has the theme used in the course. It will be compared against the name of the theme, by use of third parameter in get_plugin_element; in subclass, you should do: $plugin = $this->get_plugin_element(null, $this->get_theme_condition(), 'mytheme'); |
Generated: Thu Aug 11 10:00:09 2016 | Cross-referenced by PHPXref 0.7.1 |