PortletReportShowPortlet
class PortletReportShowPortlet extends PortletReportShowPortlet
Properties
SystemDMSController | $mod | from PortletReportShowPortlet | |
array | $_hook_info | Information is populated when called via get_hook (default) |
from ModulePortlet |
mixed | $portlet_config | from ModulePortlet | |
protected string | $portlet_title | from ModulePortlet | |
protected mixed | $portlet_title_link | from ModulePortlet | |
protected mixed | $download_handler | from ModulePortlet | |
protected mixed | $storage_path | from ModulePortlet | |
bool | $skip_auto_init | from ModulePortlet | |
array | $multi_group_context | from ModulePortlet | |
protected Core | $caller_reference | Instance calling this portlet |
from ModulePortlet |
protected XF | $XF | from ModulePortlet | |
array | $meta_info | from PortletReportShowPortlet |
Methods
Copies the references from the staging page to the live page as passive or read references.
Cleanup references or stored data associated with this portlet instance.
Getter for the cms component which displays this portlet
Get Hook identifier consists of instance_id puncto separator and hook name Ex. instance_id.name
Return Hook information (ID, InstanceID, Name, Hook Type, Object Type, ...)
Returns Form to select Options
Render the portlet in display mode This will either display a user specified description or a summary of the filters, as well as a link to the files
When a CMS component, the document index references are checked to make sure that the uploaded documents are deleted.
Called when the staging page is replaced with the live page.
Called when the staging page is published.
Copies the read references from the live page to the staging page and re-creates owner references for the staging page.
Setter for the cms component
Set Caller Reference This function is automatically called from get_hooks
Moves the staging page owner reference to the live page to prevent deletion of the documents.
is called during update() method of cms component. Can be overwritten in portlet, if there is an action required after a form submit.
Details
in
ModulePortlet at line 128
__construct()
put your comment there.
..
in
ModulePortlet at line 276
bool
can_read()
If false is returned, the portlet will not be loaded.
in
ModulePortlet at line 436
protected
copyReferences(DocumentIndex $livePageIndex, DocumentIndex $stagingPageIndex, array $documentIds)
Copies the references from the staging page to the live page as passive or read references.
in
ModulePortlet at line 294
delete()
Cleanup references or stored data associated with this portlet instance.
Remove references, moves (owner) references from the staging to the live page, when a staging component is deleted.
in
ModulePortlet at line 114
xmodel_cms_component|xmodel_cms_component_live|null
getCmsComponent()
Getter for the cms component which displays this portlet
in
BaseHook at line 76
string
getHookDescription()
No description
in
BaseHook at line 55
string
getHookIdentifier()
Get Hook identifier consists of instance_id puncto separator and hook name Ex. instance_id.name
in
BaseHook at line 45
array
getHookInfoValue(bool $key = false)
Return Hook information (ID, InstanceID, Name, Hook Type, Object Type, ...)
in
BaseHook at line 69
string
getHookInstance()
No description
in
BaseHook at line 62
string
getHookName()
No description
in
BaseHook at line 83
string
getHookTitle()
No description
in
BaseHook at line 88
getObject()
No description
in
ModulePortlet at line 187
mixed
get_config()
No description
in
PortletReportShowPortlet at line 41
array|bool
get_fdl(mixed $component_id = false)
Returns Form to select Options
in
PortletReportShowPortlet at line 98
string
get_html($size = 'default')
Render the portlet in display mode This will either display a user specified description or a summary of the filters, as well as a link to the files
in
ModulePortlet at line 147
final string
get_options()
No description
in
PortletReportShowPortlet at line 30
string
get_title()
No description
in
ModulePortlet at line 237
mixed
get_title_link()
No description
in
ModulePortlet at line 354
protected
handleDeletedDocumentReferences(array $documentIds)
When a CMS component, the document index references are checked to make sure that the uploaded documents are deleted.
in
ModulePortlet at line 138
init()
No description
in
ModulePortlet at line 282
bool
isAvailable()
No description
in
ModulePortlet at line 324
onDiscardChanges(xmodel_cms_page_live $livePage, xmodel_cms_page $stagingPage)
Called when the staging page is replaced with the live page.
Restores the (owner) references from the staging page to the documents.
in
ModulePortlet at line 309
onPublish(xmodel_cms_page_live $livePage, xmodel_cms_page $stagingPage)
Called when the staging page is published.
Creates a read-reference of the document from the staging to the live page.
in
ModulePortlet at line 254
string
render()
No description
in
ModulePortlet at line 468
protected
restoreReferences(DocumentIndex $liveIndex, DocumentIndex $stagingIndex, array $documentIds)
Copies the read references from the live page to the staging page and re-creates owner references for the staging page.
in
ModulePortlet at line 106
void
setCmsComponent(xmodel_cms_component|xmodel_cms_component_live $cmsComponent)
Setter for the cms component
in
ModulePortlet at line 267
set_caller_reference(Core $instance_ref)
Set Caller Reference This function is automatically called from get_hooks
in
ModulePortlet at line 195
set_config($config = array())
No description
in
ModulePortlet at line 160
set_download_handler($handler)
No description
in
ModulePortlet at line 210
set_mod($mod)
No description
in
ModulePortlet at line 179
final
set_options($config = array())
No description
in
ModulePortlet at line 171
set_storage_path($path)
No description
in
ModulePortlet at line 414
protected
swapOwnerReference(DocumentIndex $documentIndex, DocumentIndexReference $ownerReference, DocumentIndex $newOwnerIndex)
Moves the staging page owner reference to the live page to prevent deletion of the documents.
As soon as the live page is deleted, the reference and document will also be deleted.
in
ModulePortlet at line 122
void
update(string|null $type)
is called during update() method of cms component. Can be overwritten in portlet, if there is an action required after a form submit.