com\setasign\Konquadrat\Controller\Backend
ObjectSync Class Controller Json
File: /Konquadrat/src/Controller/Backend/ObjectSync.php
Class hierarchy
Implements
Summary
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
$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
checkUserAction()
\com\setasign\SetaFramework\Application\ApplicationConfig $applicationConfig
Parameters
- $objectConfig: \com\setasign\Konquadrat\Object\ObjectConfig
- $applicationConfig: \com\setasign\SetaFramework\Application\ApplicationConfig
Exceptions
Throws \com\setasign\Konquadrat\MultiLangException
Throws \JsonException
fetchAction()
\com\setasign\SetaFramework\Application\ApplicationConfig $applicationConfig
Parameters
- $objectFinder: \com\setasign\Konquadrat\Object\ObjectFinder
- $applicationConfig: \com\setasign\SetaFramework\Application\ApplicationConfig
fetchData()
Parameters
generateIdent()
Parameters
- $objectConfig: \com\setasign\Konquadrat\Object\ObjectConfig
Exceptions
Throws \JsonException
getConfigAction()
\com\setasign\SetaFramework\Application\ApplicationConfig $applicationConfig
Parameters
- $objectConfig: \com\setasign\Konquadrat\Object\ObjectConfig
- $applicationConfig: \com\setasign\SetaFramework\Application\ApplicationConfig
Exceptions
Throws \JsonException
getParam()
mixed $default = null
Returns a param if it exists otherwise this will return $default
Parameters
- $name: string
- $default: mixed
getRequest()
getResponse()
getSession()
renderView()
Exceptions
Throws \JsonException
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
syncAction()
\com\setasign\Konquadrat\Object\TransactionManager $transactionManager,
\com\setasign\Konquadrat\Object\ObjectConfig $objectConfig,
\com\setasign\Konquadrat\Object\ObjectFinder $objectFinder,
\com\setasign\Konquadrat\Object\ObjectManager $objectManager,
\com\setasign\Konquadrat\Object\History $history
Parameters
- $applicationConfig: \com\setasign\SetaFramework\Application\ApplicationConfig
- $transactionManager: \com\setasign\Konquadrat\Object\TransactionManager
- $objectConfig: \com\setasign\Konquadrat\Object\ObjectConfig
- $objectFinder: \com\setasign\Konquadrat\Object\ObjectFinder
- $objectManager: \com\setasign\Konquadrat\Object\ObjectManager
- $history: \com\setasign\Konquadrat\Object\History
Exceptions
Throws \com\setasign\Konquadrat\MultiLangException
Throws \Throwable
