PHP Class PKPSiteSettingsForm, pkp-lib

Inheritance: extends Form
Datei anzeigen Open project: pkp/pkp-lib Class Usage Examples

Public Properties

Property Type Description
$siteSettingsDao Site settings DAO

Public Methods

Method Description
__construct ( $template = null ) Constructor.
display ( ) Display the form.
execute ( $request ) Save site settings.
getLocaleFieldNames ( )
initData ( ) Initialize form data from current settings.
readInputData ( ) Assign form data to user-submitted data.
uploadPageHeaderTitleImage ( $locale ) Uploads custom site logo.
uploadSiteStyleSheet ( ) Uploads custom site stylesheet.

Method Details

__construct() public method

Constructor.
public __construct ( $template = null )
$template string? Optional name of template file to use for form presentation

display() public method

Display the form.
public display ( )

execute() public method

Save site settings.
public execute ( $request )

getLocaleFieldNames() public method

public getLocaleFieldNames ( )

initData() public method

Initialize form data from current settings.
public initData ( )

readInputData() public method

Assign form data to user-submitted data.
public readInputData ( )

uploadPageHeaderTitleImage() public method

Uploads custom site logo.
public uploadPageHeaderTitleImage ( $locale )

uploadSiteStyleSheet() public method

Uploads custom site stylesheet.

Property Details

$siteSettingsDao public_oe property

Site settings DAO
public $siteSettingsDao