Documentation

Skin_Default_Answer extends Admin_Answer
in package

Skin.

Tags
subpackage

Skin

version
7.x
author

Hostmake LLC

copyright

© 2005-2022 ООО "Хостмэйк" (Hostmake LLC), http://www.hostcms.ru

Table of Contents

$_addTaskbar  : mixed
Add into taskbar
$_allowedProperties  : array<string|int, mixed>
Allowed object properties
$_openWindow  : mixed
Open window, default FALSE
$_propertiesValues  : array<string|int, mixed>
Properties values
$_unlimitedProperties  : bool
Object has unlimited number of properties
$_windowSettings  : mixed
Window's settings
__construct()  : mixed
Constructor.
addAllowedProperties()  : self
Add additional allowed properties
addAllowedProperty()  : self
Add additional allowed property
addTaskbar()  : self
Add into taskbar, default TRUE
execute()  : self
Send answer (AJAX or HTML)
openWindow()  : self
Open window, default FALSE
set()  : self
Run when writing data to inaccessible properties
setUnlimitedProperties()  : self
Set unlimitedProperties
windowSettings()  : self
Set window's settings
_afterLoad()  : self
Execute afterload logic
_getWindowId()  : int
Get current window id
_openWindow()  : self
Open window
_sendAjax()  : mixed
Send AJAX answer with headers
_sendHtml()  : self
Send html content
_showFooter()  : self
Show footer
_showHeader()  : self
Show header

Properties

$_addTaskbar

Add into taskbar

protected mixed $_addTaskbar = \TRUE

$_allowedProperties

Allowed object properties

protected array<string|int, mixed> $_allowedProperties = array()

$_openWindow

Open window, default FALSE

protected mixed $_openWindow = \FALSE

$_propertiesValues

Properties values

protected array<string|int, mixed> $_propertiesValues = array()

$_unlimitedProperties

Object has unlimited number of properties

protected bool $_unlimitedProperties = \FALSE

$_windowSettings

Window's settings

protected mixed $_windowSettings = array()

Methods

__construct()

Constructor.

public __construct() : mixed
Return values
mixed

addAllowedProperties()

Add additional allowed properties

public addAllowedProperties(array<string|int, mixed> $array) : self
Parameters
$array : array<string|int, mixed>

array of properties' names

Return values
self

addAllowedProperty()

Add additional allowed property

public addAllowedProperty(string $property) : self
Parameters
$property : string

property name

Return values
self

addTaskbar()

Add into taskbar, default TRUE

public addTaskbar(bool $addTaskbar) : self
Parameters
$addTaskbar : bool

TRUE/FALSE

Return values
self

execute()

Send answer (AJAX or HTML)

public execute() : self
Return values
self

openWindow()

Open window, default FALSE

public openWindow(bool $openWindow) : self
Parameters
$openWindow : bool

open mode

Return values
self

set()

Run when writing data to inaccessible properties

public set(string $property, string $value) : self
Parameters
$property : string

property name

$value : string

property value

Return values
self

setUnlimitedProperties()

Set unlimitedProperties

public setUnlimitedProperties([bool $value = TRUE ]) : self
Parameters
$value : bool = TRUE

default TRUR

Return values
self

windowSettings()

Set window's settings

public windowSettings(array<string|int, mixed> $windowSettings) : self
Parameters
$windowSettings : array<string|int, mixed>

settings

Return values
self

_afterLoad()

Execute afterload logic

protected _afterLoad() : self
Return values
self

_getWindowId()

Get current window id

protected _getWindowId() : int
Return values
int

_openWindow()

Open window

protected _openWindow() : self
Return values
self

_sendAjax()

Send AJAX answer with headers

protected _sendAjax() : mixed
Return values
mixed

_sendHtml()

Send html content

protected _sendHtml() : self
Return values
self

_showFooter()

Show footer

protected _showFooter() : self
Return values
self

_showHeader()

Show header

protected _showHeader() : self
Return values
self

Search results