PHP Class PMA\libraries\config\PageSettings

Mostra file Open project: phpmyadmin/phpmyadmin Class Usage Examples

Public Methods

Method Description
__construct ( string $formGroupName, string $elemId = null ) Constructor
getErrorHTML ( ) : string Get error HTML output
getHTML ( ) : string Get HTML output
getNaviSettings ( ) : string Get HTML for navigation settings
showGroup ( string $formGroupName ) : PageSettings Group to show for Page-related settings

Private Methods

Method Description
_getPageSettingsDisplay ( &$form_display, &$error ) : string Display page-related settings
_processPageSettings ( &$form_display, &$cf, &$error ) : void Process response to form
_storeError ( &$form_display, &$error ) : void Store errors in _errorHTML

Method Details

__construct() public method

Constructor
public __construct ( string $formGroupName, string $elemId = null )
$formGroupName string The name of config form group to display
$elemId string Id of the div containing settings

getErrorHTML() public method

Get error HTML output
public getErrorHTML ( ) : string
return string

getHTML() public method

Get HTML output
public getHTML ( ) : string
return string

getNaviSettings() public static method

Get HTML for navigation settings
public static getNaviSettings ( ) : string
return string

showGroup() public static method

Group to show for Page-related settings
public static showGroup ( string $formGroupName ) : PageSettings
$formGroupName string The name of config form group to display
return PageSettings