Dms_Document_Controller_View
extends Skin_Bootstrap_Admin_Form_Controller_List
in package
Dms_Document_Controller_View.
Tags
Table of Contents
Properties
- $_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
- $_cacheGetListValue : mixed
- $_propertiesValues : array<string|int, mixed>
- Properties values
- $_showChangeViews : bool
- Show change view
- $_typeCounts : mixed
- Type counts
- $_unlimitedProperties : bool
- Object has unlimited number of properties
Methods
- __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
- _getFields() : array<string|int, mixed>
- Get user fields
- _getFieldValue() : string
- Get value of Field_Value
- _getListValue() : mixed
- _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
- _showTopFilter() : self
- Show top filter form
- _topMenuBar() : mixed
- Top menu bar
- getAttrString() : mixed
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('showFilter', 'showTopFilterTags', 'showChangeViews', 'showPageSelector', 'showPageNavigation')
$_aParentIDs
Parent id`s
protected
array<string|int, mixed>
$_aParentIDs
= array()
$_cacheGetListValue
protected
mixed
$_cacheGetListValue
= 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(Admin_Form_Controller $oAdmin_Form_Controller) : mixed
Parameters
- $oAdmin_Form_Controller : Admin_Form_Controller
_showFooter()
Show form footer
public
_showFooter() : mixed
Tags
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
selfbottomActions()
Show action panel in administration center
public
bottomActions() : self
Return values
selfexecute()
Executes the business logic.
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_filterAvailable()
Check filter availability
protected
_filterAvailable() : bool
Return values
bool_getFields()
Get user fields
protected
_getFields(object $oAdmin_Form_Controller) : array<string|int, mixed>
Parameters
- $oAdmin_Form_Controller : object
Return values
array<string|int, mixed>_getFieldValue()
Get value of Field_Value
protected
_getFieldValue(Field_Model $oField, mixed $oField_Value, mixed $object) : string
Parameters
- $oField : Field_Model
- $oField_Value : mixed
- $object : mixed
Return values
string_getListValue()
protected
_getListValue(mixed $list_item_id) : mixed
Parameters
- $list_item_id : mixed
_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
_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_showTopFilter()
Show top filter form
protected
_showTopFilter() : self
Return values
self_topMenuBar()
Top menu bar
protected
_topMenuBar() : mixed
getAttrString()
protected
getAttrString(array<string|int, mixed> $attr) : mixed
Parameters
- $attr : array<string|int, mixed>