Helper class for content bank files repository.
More...
Helper class for content bank files repository.
- Copyright
- 2020 Mihail Geshoski mihai.nosp@m.l@mo.nosp@m.odle..nosp@m.com
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ create_contentbank_content_node()
Create the content bank content node.
- Parameters
-
- Return values
-
array|null | The content bank content node |
◆ create_context_folder_node()
static repository_contentbank\helper::create_context_folder_node |
( |
string | $name, |
|
|
string | $path ) |
|
static |
Create the context folder node.
- Parameters
-
string | $name | The name of the context folder node |
string | $path | The path to the context folder node |
- Return values
-
array | The context folder node |
◆ create_navigation_node()
static repository_contentbank\helper::create_navigation_node |
( |
\context | $context | ) |
|
|
static |
Generate a navigation node.
- Parameters
-
context | $context | The context |
- Return values
-
◆ get_contentbank_browser()
static repository_contentbank\helper::get_contentbank_browser |
( |
\context | $context | ) |
|
|
static |
Get the content bank repository browser for a certain context.
- Parameters
-
context | $context | The context |
- Return values
-
repository_contentbank\browser\contentbank_browser|null | The content bank repository browser |
The documentation for this class was generated from the following file: