Documentation

Company_Controller_Structure extends Admin_Form_Controller_View
in package

Company_Controller_Structure

Tags
subpackage

Company

version
7.x
author

Hostmake LLC

copyright

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

Table of Contents

Properties

$_aCompany_Departmens  : array<string|int, mixed>
Company departments
$_aCompany_Users  : array<string|int, mixed>
Company users
$_allowedProperties  : array<string|int, mixed>
Allowed object properties
$_oCompany  : object
Company_Model
$_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
_showContent()  : self
Show form content in administration center
_showLevel()  : string
Show level

Properties

$_aCompany_Departmens

Company departments

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

$_aCompany_Users

Company users

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

$_allowedProperties

Allowed object properties

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

$_oCompany

Company_Model

protected object $_oCompany = \NULL

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

execute()

Execute

public execute() : self
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

_showContent()

Show form content in administration center

protected _showContent() : self
Return values
self

_showLevel()

Show level

protected _showLevel(int $parent_id[, array<string|int, mixed> $aAllowedActions = array() ]) : string
Parameters
$parent_id : int
$aAllowedActions : array<string|int, mixed> = array()
Return values
string

        
On this page

Search results