Class containing data for the data registry defaults.
Copyright: | 2018 Jun Pataleta |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 178 lines (7 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
defaults_page:: (2 methods):
__construct()
export_for_template()
Class: defaults_page - X-Ref
Class containing data for the data registry defaults.__construct($mode, $category, $purpose, $otherdefaults = [], $canedit = false) X-Ref |
Construct this renderable. param: int $mode The display mode. param: int $category The default category for the given mode. param: int $purpose The default purpose for the given mode. param: stdClass[] $otherdefaults Other defaults for the given mode. param: bool $canedit Whether editing is allowed. |
export_for_template(renderer_base $output) X-Ref |
Export this data so it can be used as the context for a mustache template. param: renderer_base $output return: stdClass |