JobsCollectionView Class Reference

Inheritance diagram for JobsCollectionView:
MetadataView View

Public Member Functions

 __construct ($controllerId, $moduleId, $monitorJobData, $jobsData, $messageBoxContent=null)
 getTitle ()
 isUniqueToAPage ()

Static Public Member Functions

static getDefaultMetadata ()

Protected Member Functions

 renderContent ()
 renderScripts ()
 renderFormLayout (ZurmoActiveForm $form)
 renderMonitorJobLayout ()
 renderJobLayout ($jobsData, $jobLabelHeaderContent)
 resolveActionContentByStatus ($type, $status)
 renderViewJobLogLinkContent ($type)
 renderSuggestedFrequencyContent ()

Static Protected Member Functions

static renderMonitorJobHeaderContent ()
static resolveAjaxOptionsForJobLogLink ($type)
static renderHelpContent ()

Protected Attributes

 $jobsData = array()
 $showRunJobLink = true

Detailed Description

A view that displays a list of jobs available across the system including information on last run, status, and actions that can be performed on a job.

Definition at line 42 of file JobsCollectionView.php.

Constructor & Destructor Documentation

__construct ( controllerId,
messageBoxContent = null 
string $controllerId
string $moduleId
array $monitorJobData
array $jobsData
null|string $messageBoxContent

Definition at line 61 of file JobsCollectionView.php.

Member Function Documentation

renderContent (  )  [protected]

Renders the view content.

Reimplemented from View.

Definition at line 75 of file JobsCollectionView.php.

renderFormLayout ( ZurmoActiveForm form  )  [protected]

Render a form layout.

$form If the layout is editable, then pass a $form otherwise it can be null.
A string containing the element's content.

Definition at line 115 of file JobsCollectionView.php.

renderJobLayout ( jobsData,
) [protected]
array $jobsData
string $jobLabelHeaderContent

Definition at line 136 of file JobsCollectionView.php.

static getDefaultMetadata (  )  [static]

Returns default metadata for use in automatically generating the view.

Reimplemented from MetadataView.

Definition at line 190 of file JobsCollectionView.php.

isUniqueToAPage (  ) 

Tells View that it can render the extending class' divs with and id matching their name. Must be overridden to return false in extending classes that can be rendered multiple times within a page to avoid generating a page with non-unique ids which will fail XHtml validation. For those it will render a class attribute with their name.

Reimplemented from View.

Definition at line 199 of file JobsCollectionView.php.

The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Sun Jan 19 07:11:00 2020