Documentation

Skin_Bootstrap_Admin_Form_Action_Controller_Type_Edit_Show extends Admin_Form_Action_Controller_Type_Edit_Show
in package

Admin forms. Bootstrap.

Tags
subpackage

Skin

version
7.x
author

Hostmake LLC

copyright

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

Table of Contents

Properties

$_Admin_Form_Entity_Form  : Admin_Form_Entity_Form_Model
Admin form entity form
$_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
create()  : object
Create new form controller
set()  : self
Run when writing data to inaccessible properties
setUnlimitedProperties()  : self
Set unlimitedProperties
showEditForm()  : bool
Show edit form
_addButtons()  : Admin_Form_Entity_Buttons
Add save and apply buttons
_justMenus()  : bool
Check if $value is instance of Skin_Bootstrap_Admin_Form_Entity_Menus

Properties

$_Admin_Form_Entity_Form

Admin form entity form

protected Admin_Form_Entity_Form_Model $_Admin_Form_Entity_Form = \NULL

$_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
self

addAllowedProperty()

Add additional allowed property

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

property name

Return values
self

create()

Create new form controller

public static create(mixed $oAdmin_Form_Entity_Form) : object
Parameters
$oAdmin_Form_Entity_Form : mixed
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

setUnlimitedProperties()

Set unlimitedProperties

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

default TRUR

Return values
self

showEditForm()

Show edit form

public showEditForm() : bool
Return values
bool

_addButtons()

Add save and apply buttons

protected _addButtons() : Admin_Form_Entity_Buttons
Tags
hostcms-event

Admin_Form_Action_Controller_Type_Edit_Show.onBeforeAddButtons

hostcms-event

Admin_Form_Action_Controller_Type_Edit_Show.onAfterAddButtons

Return values
Admin_Form_Entity_Buttons

_justMenus()

Check if $value is instance of Skin_Bootstrap_Admin_Form_Entity_Menus

protected static _justMenus(mixed $value) : bool
Parameters
$value : mixed
Return values
bool

        
On this page

Search results