XML role file manipulation class.
More...
|
static | get_node (DOMDocument $dom, $path) |
|
static | get_node_children (DOMDocument $dom, $path, $tagname) |
|
static | get_node_children_values (DOMDocument $dom, $path, $tagname) |
|
static | get_node_value (DOMDocument $dom, $path) |
|
XML role file manipulation class.
- Copyright
- 2013 Petr Skoda
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ get_export_xml()
static core_role_preset::get_export_xml |
( |
| $roleid | ) |
|
|
static |
Generate role export xml file.
- Parameters
-
- Return values
-
◆ is_valid_preset()
static core_role_preset::is_valid_preset |
( |
| $xml | ) |
|
|
static |
Is this XML valid role preset?
- Parameters
-
- Return values
-
◆ parse_preset()
static core_role_preset::parse_preset |
( |
| $xml | ) |
|
|
static |
Parse role preset xml file.
- Parameters
-
- Return values
-
array | role info, null on error |
◆ send_export_xml()
static core_role_preset::send_export_xml |
( |
| $roleid | ) |
|
|
static |
Send role export xml file to browser.
- Parameters
-
- Return values
-
void | does not return, send the file to output |
The documentation for this class was generated from the following file:
- admin/roles/classes/preset.php