Documentation

JsonViewManager implements JsonAdapter

JSON Adapter for View Manager

Tags
copyright

Cloudrexx AG

author

Project Team SS4U info@cloudrexx.com

subpackage

core_viewmanager

Table of Contents

Interfaces

JsonAdapter
JSON Adapter for JSON requests

Properties

$messages  : array<string|int, mixed>
List of messages

Methods

activateLanguages()  : array<string|int, mixed>
Activate selected languages for the corresponding theme
activateTheme()  : mixed
activate the selected theme as standard theme
checkThemeExistsByThemeId()  : array<string|int, mixed>
Check whether the theme is selected for any of the active languages/custom theme for active languages/other theme
copyTitle()  : string
Name of the file or folder
delete()  : string
delete the file or directory
deleteThemeById()  : array<string|int, mixed>
Delete selected theme and its theme folder
getAccessableMethods()  : array<string|int, mixed>
Returns an array of method names accessable from a JSON request
getDefaultPermissions()  : object
Returns default permission as object
getMessagesAsString()  : string
Returns all messages as string
getName()  : string
Returns the internal name used as identifier for this adapter
newWithin()  : array<string|int, mixed>
create new file or folder
rename()  : string
rename the file or directory

Properties

Methods

activateLanguages()

Activate selected languages for the corresponding theme

public activateLanguages() : array<string|int, mixed>

Necessary POST params are:

  • themeId: ID of the theme
  • themeType: One of the \Cx\Core\View\Model\Entity\Theme::THEME_TYPE_ constants
Return values
array<string|int, mixed>

result

activateTheme()

activate the selected theme as standard theme

public activateTheme() : mixed
Tags
global

type $objDatabase

checkThemeExistsByThemeId()

Check whether the theme is selected for any of the active languages/custom theme for active languages/other theme

public checkThemeExistsByThemeId() : array<string|int, mixed>
Tags
global

\Cx\Core\ViewManager\Controller\type $_ARRAYLANG

Return values
array<string|int, mixed>

result

copyTitle()

Name of the file or folder

public copyTitle(string $themeFilePath, string $currentFileName) : string
Parameters
$themeFilePath : string

themeFilePath

$currentFileName : string

currentFilePath

Tags
global

array $_CORELANG

Return values
string

filename

delete()

delete the file or directory

public delete(array<string|int, mixed> $params) : string
Parameters
$params : array<string|int, mixed>

supplied arguments from JsonData-request

Return values
string

deleteThemeById()

Delete selected theme and its theme folder

public deleteThemeById() : array<string|int, mixed>
Tags
global

type $_ARRAYLANG

Return values
array<string|int, mixed>

status

getAccessableMethods()

Returns an array of method names accessable from a JSON request

public getAccessableMethods() : array<string|int, mixed>
Return values
array<string|int, mixed>

List of method names

getDefaultPermissions()

Returns default permission as object

public getDefaultPermissions() : object
Return values
object

getMessagesAsString()

Returns all messages as string

public getMessagesAsString() : string
Return values
string

HTML encoded error messages

getName()

Returns the internal name used as identifier for this adapter

public getName() : string
Return values
string

Name of this adapter

newWithin()

create new file or folder

public newWithin(array<string|int, mixed> $params) : array<string|int, mixed>
Parameters
$params : array<string|int, mixed>

supplied arguments from JsonData-request

Return values
array<string|int, mixed>

rename()

rename the file or directory

public rename(array<string|int, mixed> $params) : string
Parameters
$params : array<string|int, mixed>

supplied arguments from JsonData-request

Return values
string

        
On this page

Search results