Documentation

Dms_Case_Archive_Item_Controller_Delete extends Admin_Form_Action_Controller
in package

Dms_Case_Archive

Tags
subpackage

Dms

version
7.x
copyright

© 2005-2024, https://www.hostcms.ru

Table of Contents

Properties

$_Admin_Form_Action  : Admin_Form_Action_Model
Form Action
$_Admin_Form_Controller  : Admin_Form_Controller
Form controller
$_allowedProperties  : array<string|int, mixed>
Allowed object properties
$_children  : array<string|int, mixed>
Children entities list
$_content  : string
Content
$_datasetId  : int
Dataset ID
$_message  : string
Message text
$_object  : object
Object
$_propertiesValues  : array<string|int, mixed>
Properties values
$_unlimitedProperties  : bool
Object has unlimited number of properties

Methods

__construct()  : mixed
Constructor.
addAllowedProperties()  : self
Add additional allowed properties
addAllowedProperty()  : self
Add additional allowed property
addContent()  : self
Add content
addEntity()  : self
Add entity
addMessage()  : self
Add message
clearContent()  : self
Clear content
controller()  : self
Set Admin_Form_Controller
execute()  : self
Executes the business logic.
factory()  : object
Create and return controller for current skin
getChildren()  : array<string|int, mixed>
Get Children
getContent()  : object
Get content
getController()  : Admin_Form_Controller
Get Admin_Form_Controller
getDatasetId()  : int
Get dataset ID
getMessage()  : self
Get message
getName()  : string
Get action name
getObject()  : object
Get object
set()  : self
Run when writing data to inaccessible properties
setDatasetId()  : mixed
Set dataset ID
setObject()  : self
Set object
setUnlimitedProperties()  : self
Set unlimitedProperties
_checkCsrf()  : mixed
Check CSRF token

Properties

$_allowedProperties

Allowed object properties

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

$_children

Children entities list

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

$_content

Content

protected string $_content = \NULL

$_datasetId

Dataset ID

protected int $_datasetId = \NULL

$_message

Message text

protected string $_message = \NULL

$_object

Object

protected object $_object = \NULL

$_propertiesValues

Properties values

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

$_unlimitedProperties

Object has unlimited number of properties

protected bool $_unlimitedProperties = \FALSE

Methods

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

addContent()

Add content

public addContent(string $content) : self
Parameters
$content : string

content

Return values
self

addMessage()

Add message

public addMessage(mixed $message) : self
Parameters
$message : mixed

message

Return values
self

clearContent()

Clear content

public clearContent() : self
Return values
self

execute()

Executes the business logic.

public execute([mixed $operation = NULL ]) : self
Parameters
$operation : mixed = NULL

Operation name

Return values
self

getChildren()

Get Children

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

getContent()

Get content

public getContent() : object
Return values
object

getDatasetId()

Get dataset ID

public getDatasetId() : int
Return values
int

getMessage()

Get message

public getMessage() : self
Return values
self

getName()

Get action name

public getName() : string
Return values
string

getObject()

Get object

public getObject() : object
Return values
object

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

setDatasetId()

Set dataset ID

public setDatasetId(int $datasetId) : mixed
Parameters
$datasetId : int

ID of dataset

setObject()

Set object

public setObject(object $object) : self
Parameters
$object : object

object

Return values
self

setUnlimitedProperties()

Set unlimitedProperties

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

default TRUR

Return values
self

_checkCsrf()

Check CSRF token

protected _checkCsrf(string $secret_csrf) : mixed
Parameters
$secret_csrf : string

        
On this page

Search results