Open Monograph Press  3.3.0
PKP\components\listPanels\ListPanel Class Reference
Inheritance diagram for PKP\components\listPanels\ListPanel:
APP\components\listPanels\CatalogListPanel PKP\components\listPanels\PKPAnnouncementsListPanel PKP\components\listPanels\PKPEmailTemplatesListPanel PKP\components\listPanels\PKPSelectReviewerListPanel PKP\components\listPanels\PKPSubmissionsListPanel APP\components\listPanels\EmailTemplatesListPanel APP\components\listPanels\SubmissionsListPanel

Public Member Functions

 __construct ($id, $title, $args=[])
 
 getConfig ()
 
 set ($args)
 

Data Fields

 $description = ''
 
 $emptyLabel = ''
 
 $expanded = []
 
 $headingLevel = 'h2'
 
 $id = ''
 
 $isSidebarVisible = false
 
 $items = []
 
 $title = ''
 

Detailed Description

Definition at line 17 of file ListPanel.inc.php.

Constructor & Destructor Documentation

◆ __construct()

PKP\components\listPanels\ListPanel::__construct (   $id,
  $title,
  $args = [] 
)

Initialize the form with config parameters

Parameters
$idstring
$titlestring
$argsarray Configuration params

Reimplemented in PKP\components\listPanels\PKPAnnouncementsListPanel.

Definition at line 74 of file ListPanel.inc.php.

References PKP\components\listPanels\ListPanel\$id, and PKP\components\listPanels\ListPanel\$title.

Member Function Documentation

◆ getConfig()

◆ set()

PKP\components\listPanels\ListPanel::set (   $args)

Set configuration data for the component

Parameters
$argsarray Configuration params
Returns

Reimplemented in PKP\components\listPanels\PKPSelectReviewerListPanel.

Definition at line 86 of file ListPanel.inc.php.

Field Documentation

◆ $description

string ListPanel::$description = ''

An optional description to add beneath the title

Definition at line 23 of file ListPanel.inc.php.

Referenced by PKP\components\listPanels\ListPanel\getConfig().

◆ $emptyLabel

string ListPanel::$emptyLabel = ''

An optional message to display when no items are in the list

Definition at line 29 of file ListPanel.inc.php.

Referenced by PKP\components\listPanels\ListPanel\getConfig().

◆ $expanded

array ListPanel::$expanded = []

Array of item ids that should be expanded on initial load

Definition at line 35 of file ListPanel.inc.php.

Referenced by PKP\components\listPanels\ListPanel\getConfig().

◆ $headingLevel

string ListPanel::$headingLevel = 'h2'

The appropriate heading level for this component

Definition at line 41 of file ListPanel.inc.php.

Referenced by PKP\components\listPanels\ListPanel\getConfig().

◆ $id

◆ $isSidebarVisible

boolean ListPanel::$isSidebarVisible = false

Should the sidebar be visible on initial load?

Definition at line 47 of file ListPanel.inc.php.

Referenced by PKP\components\listPanels\ListPanel\getConfig().

◆ $items

◆ $title


The documentation for this class was generated from the following file: