Documentation

Dms_Document_Type_Controller
in package

Dms_Document_Type_Controller

Tags
subpackage

Dms

version
7.x
author

Hostmake LLC

copyright

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

Table of Contents

Properties

$instance  : mixed
The singleton instances.
$_aTypes  : mixed
Types
$_aTypeTree  : mixed
Types tree

Methods

fillTypes()  : array<string|int, mixed>
Build types array
getAllSubtypes()  : array<string|int, mixed>
Get all subtypes
getByParentId()  : array<string|int, mixed>
Get by parent id
instance()  : object
Register an existing instance as a singleton.
_fillAllTypes()  : self
Fill all types
_fillTypes()  : array<string|int, mixed>
Fill types

Properties

$instance

The singleton instances.

public static mixed $instance = \NULL

$_aTypeTree

Types tree

protected mixed $_aTypeTree = \NULL

Methods

fillTypes()

Build types array

public fillTypes() : array<string|int, mixed>
Return values
array<string|int, mixed>

getAllSubtypes()

Get all subtypes

public getAllSubtypes(int $dms_class_id, int $parent_id) : array<string|int, mixed>
Parameters
$dms_class_id : int
$parent_id : int
Return values
array<string|int, mixed>

getByParentId()

Get by parent id

public getByParentId(int $dms_class_id, int $parent_id) : array<string|int, mixed>
Parameters
$dms_class_id : int
$parent_id : int
Return values
array<string|int, mixed>

instance()

Register an existing instance as a singleton.

public static instance() : object
Return values
object

_fillAllTypes()

Fill all types

protected _fillAllTypes() : self
Return values
self

_fillTypes()

Fill types

protected _fillTypes(Dms_Class_Model $oDms_Class[, int $iParentId = 0 ][, int $iLevel = 0 ]) : array<string|int, mixed>
Parameters
$oDms_Class : Dms_Class_Model
$iParentId : int = 0
$iLevel : int = 0
Return values
array<string|int, mixed>

        
On this page

Search results