Documentation

Chartaccount_Controller
in package

Chartaccount_Controller.

Tags
subpackage

Chartaccount

version
7.x
author

Hostmake LLC

copyright

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

Table of Contents

Properties

$_Admin_Form_Controller  : mixed

Methods

getCode()  : string
Get code
getDocument()  : object|null
Get document
getDocumentId()  : int
Get uniq document ID
getDocumentModel()  : mixed
Get Model Name By Type Id
getDocumentType()  : int|null
Get document type
getEntity()  : object
Get entity
getOptions()  : object
Get options
getSubcountList()  : array<string|int, mixed>
Get subcounts list
getSubcounts()  : array<string|int, mixed>
Undocumented function
setAdminFormController()  : self
Set admin form controller
showSubcounts()  : void
Show subcounts
_getCorrectEntries()  : array<string|int, mixed>
Get correct entries
_getSubcountValue()  : mixed

Properties

$_Admin_Form_Controller

protected static mixed $_Admin_Form_Controller = \NULL

Methods

getDocument()

Get document

public static getDocument(mixed $document_id) : object|null
Parameters
$document_id : mixed
Return values
object|null

getDocumentId()

Get uniq document ID

public static getDocumentId(int $id, int $type) : int
Parameters
$id : int

document ID

$type : int

document type

Return values
int

getDocumentModel()

Get Model Name By Type Id

public static getDocumentModel(int $type) : mixed
Parameters
$type : int

getDocumentType()

Get document type

public static getDocumentType(mixed $document_id) : int|null
Parameters
$document_id : mixed
Return values
int|null

getEntity()

Get entity

public static getEntity(object $oObject, int $type) : object
Parameters
$oObject : object
$type : int
Return values
object

getOptions()

Get options

public static getOptions([array<string|int, mixed> $aParams = array() ][, bool $ajax = FALSE ]) : object
Parameters
$aParams : array<string|int, mixed> = array()
$ajax : bool = FALSE
Return values
object

getSubcountList()

Get subcounts list

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

setAdminFormController()

Set admin form controller

public static setAdminFormController(object $oAdmin_Form_Controller) : self
Parameters
$oAdmin_Form_Controller : object
Return values
self

showSubcounts()

Show subcounts

public static showSubcounts(array<string|int, mixed> $aValues, int $chartaccount_id, object $oParentObject, object $oAdmin_Form_Controller[, array<string|int, mixed> $aParams = array() ][, string $prefix = '' ]) : void
Parameters
$aValues : array<string|int, mixed>
$chartaccount_id : int
$oParentObject : object
$oAdmin_Form_Controller : object
$aParams : array<string|int, mixed> = array()
$prefix : string = ''

_getCorrectEntries()

Get correct entries

protected static _getCorrectEntries(int $chartaccount_id) : array<string|int, mixed>
Parameters
$chartaccount_id : int
Return values
array<string|int, mixed>

_getSubcountValue()

protected static _getSubcountValue(mixed $type, mixed $value) : mixed
Parameters
$type : mixed
$value : mixed

        
On this page

Search results