Documentation

Admin_View extends Core_Servant_Properties
in package

Admin View.

Tags
subpackage

Admin

version
7.x
author

Hostmake LLC

copyright

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

Table of Contents

$_allowedProperties  : array<string|int, mixed>
Allowed object properties
$_children  : array<string|int, mixed>
Children
$_propertiesValues  : array<string|int, mixed>
Properties values
$_unlimitedProperties  : bool
Object has unlimited number of properties
__construct()  : mixed
Constructor.
addAllowedProperties()  : self
Add additional allowed properties
addAllowedProperty()  : self
Add additional allowed property
addChild()  : self
Add entity
addMessage()  : self
Add message for Back-end form
children()  : self
Set children
create()  : object
Create new admin view
getClassName()  : string
Get class name depends on skin
set()  : self
Run when writing data to inaccessible properties
setUnlimitedProperties()  : self
Set unlimitedProperties
show()  : mixed
Abstract show

Properties

$_allowedProperties

Allowed object properties

protected array<string|int, mixed> $_allowedProperties = array('pageTitle', 'module', 'message', 'content')

$_children

Children

protected array<string|int, mixed> $_children = 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
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

addMessage()

Add message for Back-end form

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

message

Return values
self

children()

Set children

public children(array<string|int, mixed> $children) : self
Parameters
$children : array<string|int, mixed>
Return values
self

create()

Create new admin view

public static create([mixed $className = NULL ]) : object
Parameters
$className : mixed = NULL
Return values
object

getClassName()

Get class name depends on skin

public static getClassName(mixed $className) : string
Parameters
$className : mixed
Return values
string

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

show()

Abstract show

public abstract show() : mixed
Return values
mixed

Search results