Open Journal Systems  3.3.0
APP\Services\SectionService Class Reference
Inheritance diagram for APP\Services\SectionService:

Public Member Functions

 addSection ($section, $context)
 
 getFullProperties ($section, $args=null)
 
 getProperties ($section, $props, $args=null)
 
 getSectionList ($contextId, $activeOnly=false)
 
 getSummaryProperties ($section, $args=null)
 

Detailed Description

Definition at line 21 of file SectionService.inc.php.

Member Function Documentation

◆ addSection()

APP\Services\SectionService::addSection (   $section,
  $context 
)

Add a new section

This does not check if the user is authorized to add a section, or validate or sanitize this section.

Parameters
$sectionSection
$contextJournal
Returns
Section

Definition at line 117 of file SectionService.inc.php.

References DAORegistry\getDAO().

◆ getFullProperties()

APP\Services\SectionService::getFullProperties (   $section,
  $args = null 
)

◆ getProperties()

APP\Services\SectionService::getProperties (   $section,
  $props,
  $args = null 
)

◆ getSectionList()

APP\Services\SectionService::getSectionList (   $contextId,
  $activeOnly = false 
)

Get array of sections

Parameters
int$contextId
boolean$activeOnlyExclude inactive sections from the section list that is returned
Returns
array

Definition at line 32 of file SectionService.inc.php.

References DAORegistry\getDAO().

◆ getSummaryProperties()

APP\Services\SectionService::getSummaryProperties (   $section,
  $args = null 
)

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