Bot_Controller_View
extends Admin_Form_Controller_View
in package
Bot_Controller_View.
Tags
Table of Contents
Properties
- $_aBot_Dirs : array<string|int, mixed>
- Array of Bot_Dirs tree
- $_aBots : array<string|int, mixed>
- Array of Bots tree
- $_allowedProperties : array<string|int, mixed>
- Allowed object properties
- $_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
- execute() : self
- Execute
- set() : self
- Run when writing data to inaccessible properties
- setUnlimitedProperties() : self
- Set unlimitedProperties
- _showBotsTree() : string
- Show bots tree
- _showContent() : self
- Show form content in administration center
Properties
$_aBot_Dirs
Array of Bot_Dirs tree
protected
array<string|int, mixed>
$_aBot_Dirs
= array()
$_aBots
Array of Bots tree
protected
array<string|int, mixed>
$_aBots
= array()
$_allowedProperties
Allowed object properties
protected
array<string|int, mixed>
$_allowedProperties
= array()
$_propertiesValues
Properties values
protected
array<string|int, mixed>
$_propertiesValues
= array()
$_unlimitedProperties
Object has unlimited number of properties
protected
bool
$_unlimitedProperties
= \FALSE
Methods
__construct()
Constructor.
public
__construct() : 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
selfaddAllowedProperty()
Add additional allowed property
public
addAllowedProperty(string $property) : self
Parameters
- $property : string
-
property name
Return values
selfexecute()
Execute
public
execute() : self
Return values
selfset()
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
selfsetUnlimitedProperties()
Set unlimitedProperties
public
setUnlimitedProperties([bool $value = TRUE ]) : self
Parameters
- $value : bool = TRUE
-
default TRUR
Return values
self_showBotsTree()
Show bots tree
protected
_showBotsTree([int $iBotDirParentId = 0 ][, int $iLevel = 0 ]) : string
Parameters
- $iBotDirParentId : int = 0
-
parent id
- $iLevel : int = 0
-
level
Return values
string_showContent()
Show form content in administration center
protected
_showContent() : self