attachLangToColumnTree
attachLangToColumnTree(&$tree, $initEntity, $helper_class, $preTitle = array());
Uploads language phrases for the report fields, by using entity descriptions and report helper class. Static method.
Note. It is used inside the generateColumnTree method.
Function parameters
Parameter | Description |
---|---|
$tree | Link to the tree with description of fields, available in the report. It is generated by the generateColumnTree method, into which the language phrases must be uploaded. |
$initEntity | Object of the report basic entity. |
$helper_class | Name of the report helper class. |
$preTitle | Prefix for the full field name. |
Returned value
None, modifies the $tree
parameter.
© «Bitrix24», 2001-2024