com\setasign\Konquadrat\Controller\Backend
Config Class Controller Json
File: /Konquadrat/src/Controller/Backend/Config.php
Class hierarchy
- com\setasign\SetaFramework\Controller\AbstractJsonController
Implements
- \com\setasign\SetaFramework\Controller\ControllerInterface
Summary
Constants
PERMISSION_ACTION_DELETE
PERMISSION_ACTION_READ
PERMISSION_ACTION_RELOAD
PERMISSION_ACTION_WRITE
Properties
$data
-
Result data to convert to JSON.
$encodingOptions
-
Default JSON encoding is performed with the following options, which produces RFC4627-compliant JSON, capable of embedding into HTML.
default value of:
JSON_HEX_TAG | JSON_HEX_APOS | JSON_HEX_AMP | JSON_HEX_QUOT | JSON_UNESCAPED_SLASHES
$httpFactory
-
$messageList
$response
-
$sessionContext
$textContentType
-
If true the response contentType will be 'text/html; charset=utf-8' instead of 'application/json'.
Needed for the IE. The IE will try to download 'application/json' responses from iframes.
Methods
__construct()
\com\setasign\Konquadrat\Object\MessageList $messageList,
\com\setasign\SetaFramework\Http\HttpFactoryInterface $httpFactory
Parameters
- $sessionContext : \com\setasign\Konquadrat\SessionContext
- $messageList : \com\setasign\Konquadrat\Object\MessageList
- $httpFactory : \com\setasign\SetaFramework\Http\HttpFactoryInterface
deleteAction()
\com\setasign\Konquadrat\DirectorySettings $directorySettings
Parameters
- $applicationConfig : \com\setasign\SetaFramework\Application\ApplicationConfig
- $directorySettings : \com\setasign\Konquadrat\DirectorySettings
Exceptions
Throws \com\setasign\Konquadrat\Exception
Throws \com\setasign\SetaFramework\Permissions\PermissionException
getAction()
Parameters
- $directorySettings : \com\setasign\Konquadrat\DirectorySettings
Exceptions
Throws \com\setasign\Konquadrat\Exception
Throws \com\setasign\SetaFramework\Permissions\PermissionException
getActiveAction()
\com\setasign\Konquadrat\DirectorySettings $directorySettings,
\com\setasign\Konquadrat\LanguageManager $languageManager
Parameters
- $objectConfig : \com\setasign\Konquadrat\Object\ObjectConfig
- $directorySettings : \com\setasign\Konquadrat\DirectorySettings
- $languageManager : \com\setasign\Konquadrat\LanguageManager
getParam()
-
mixed $default = null
Returns a param if it exists otherwise this will return $default
Parameters
- $name : string
- $default : mixed
getParams()
-
Get all existing params
getPath()
Parameters
- $directorySettings : \com\setasign\Konquadrat\DirectorySettings
,
- $type : string
getRequest()
getResponse()
-
getSession()
reloadAction()
Parameters
- $configReloader : \com\setasign\Konquadrat\Config\ConfigReloader
Exceptions
Throws \Throwable
Throws \com\setasign\SetaFramework\Permissions\PermissionException
removeEmptyDirectories()
Parameters
- $directorySettings : \com\setasign\Konquadrat\DirectorySettings
- $path : string
Exceptions
renderView()
-
Exceptions
Throws \JsonException
resetResponse()
-
saveAction()
\com\setasign\Konquadrat\Config\Validator\XMLSchemaValidator $xmlSchemaValidator,
\com\setasign\Konquadrat\DirectorySettings $directorySettings
Parameters
- $applicationConfig : \com\setasign\SetaFramework\Application\ApplicationConfig
- $xmlSchemaValidator : \com\setasign\Konquadrat\Config\Validator\XMLSchemaValidator
- $directorySettings : \com\setasign\Konquadrat\DirectorySettings
Exceptions
Throws \com\setasign\Konquadrat\Exception
Throws \com\setasign\SetaFramework\Permissions\PermissionException
Throws \com\setasign\Konquadrat\Config\Validator\ValidationException
setParam()
-
mixed $value
Sets a param
Parameters
- $name : string
- $value : mixed
setParams()
-
Set a array of params
Note: The params will be merged with the existing params!!
Parameters
- $params : array
