An object used to represent content which can be served.
More...
|
string | $component = null |
| The component being exported.
|
|
context | $context = null |
| The context associated with this exportable item.
|
|
string | $uservisiblename = null |
| The name displayed to the user.
|
|
An object used to represent content which can be served.
- Copyright
- 2020 Andrew Nicols andre.nosp@m.w@ni.nosp@m.cols..nosp@m.co.u.nosp@m.k
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ __construct()
core\content\export\exportable_item::__construct |
( |
context | $context, |
|
|
string | $component, |
|
|
string | $uservisiblename ) |
Create a new exportable_item instance.
- Parameters
-
context | $context | The context that this content belongs to |
string | $component | The component that this content relates to |
string | $uservisiblename | The name displayed in the export |
◆ add_to_archive()
core\content\export\exportable_item::add_to_archive |
( |
zipwriter | $archive | ) |
|
|
abstract |
◆ get_component()
core\content\export\exportable_item::get_component |
( |
| ) |
|
Get the component that this exportable item relates to.
- Return values
-
◆ get_context()
core\content\export\exportable_item::get_context |
( |
| ) |
|
Get the context that this exportable item is for.
- Return values
-
◆ get_user_visible_name()
core\content\export\exportable_item::get_user_visible_name |
( |
| ) |
|
Get the user visible name for the exportable item.
- Return values
-
The documentation for this class was generated from the following file:
- lib/classes/content/export/exportable_item.php