Documentation

Dms_Document_Controller_View extends Skin_Bootstrap_Admin_Form_Controller_List
in package

Dms_Document_Controller_View.

Tags
subpackage

Dms

version
7.x
author

Hostmake LLC

copyright

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

Table of Contents

$_aDms_Document_Types  : array<string|int, mixed>
Dms document types
$_allowedProperties  : array<string|int, mixed>
Allowed object properties
$_aParentIDs  : array<string|int, mixed>
Parent id`s
$_propertiesValues  : array<string|int, mixed>
Properties values
$_showChangeViews  : bool
Show change view
$_typeCounts  : mixed
Type counts
$_unlimitedProperties  : bool
Object has unlimited number of properties
__construct()  : mixed
Constructor.
_showFooter()  : mixed
Show form footer
addAllowedProperties()  : self
Add additional allowed properties
addAllowedProperty()  : self
Add additional allowed property
bottomActions()  : self
Show action panel in administration center
execute()  : self
Executes the business logic.
set()  : self
Run when writing data to inaccessible properties
setUnlimitedProperties()  : self
Set unlimitedProperties
_filterAvailable()  : bool
Check filter availability
_getTypeCount()  : int
Get type count
_isFilterNecessary()  : self
Is filter necessary
_pageSelector()  : mixed
Show items count selector
_showContent()  : self
Show form content in administration center
_showDmsDocumentType()  : string
Show DMS document type
_topMenuBar()  : mixed
Top menu bar

Properties

$_aDms_Document_Types

Dms document types

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

$_allowedProperties

Allowed object properties

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

$_aParentIDs

Parent id`s

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

$_propertiesValues

Properties values

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

$_showChangeViews

Show change view

protected bool $_showChangeViews = \FALSE

$_typeCounts

Type counts

protected mixed $_typeCounts = \NULL

$_unlimitedProperties

Object has unlimited number of properties

protected bool $_unlimitedProperties = \FALSE

Methods

__construct()

Constructor.

public __construct() : mixed
Return values
mixed

_showFooter()

Show form footer

public _showFooter() : mixed
Tags
hostcms-event

Admin_Form_Controller.onBeforeShowFooter

hostcms-event

Admin_Form_Controller.onAfterShowFooter

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

bottomActions()

Show action panel in administration center

public bottomActions() : self
Return values
self

execute()

Executes the business logic.

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

_filterAvailable()

Check filter availability

protected _filterAvailable() : bool
Return values
bool

_getTypeCount()

Get type count

protected _getTypeCount(int $dms_class_id, int $dms_document_type_id) : int
Parameters
$dms_class_id : int
$dms_document_type_id : int
Return values
int

_isFilterNecessary()

Is filter necessary

protected _isFilterNecessary() : self
Return values
self

_pageSelector()

Show items count selector

protected _pageSelector() : mixed
Return values
mixed

_showContent()

Show form content in administration center

protected _showContent() : self
Return values
self

_showDmsDocumentType()

Show DMS document type

protected _showDmsDocumentType(int $parent_id) : string
Parameters
$parent_id : int

type parent id

Return values
string

_topMenuBar()

Top menu bar

protected _topMenuBar() : mixed
Return values
mixed

Search results