Property | Type | Description | |
---|---|---|---|
$_table | |||
$_tableGroups | |||
$_tablePages | |||
$_tableRelations |
Method | Description | |
---|---|---|
filter ( &$items, $itemName, $params = [] ) | ||
filterByGroup ( &$items, $item = false, $params = [] ) | ||
generateTabs ( array $fieldgroups ) | ||
getAcoFieldsList ( $pageName = null, $itemName = null, $aWhere = '', $aAllFieldInfo = false, $aItemData = false, $params = [] ) | getAcoFieldsList | |
getByItemName ( $itemName ) | ||
getGroups ( $itemName ) | ||
getImageFields ( $itemFilter = null ) | ||
getStorageFields ( $itemFilter = null ) | ||
getTableGroups ( ) | ||
getTablePages ( ) | ||
getTableRelations ( ) | ||
getTreeNode ( $condition ) | ||
getTreeNodes ( $condition = '' ) | ||
getValues ( $field, $item ) | ||
keepValues ( array &$itemData, array $fields, array $extraValues = [], array $data = null ) : void | Sets elements of array according to provided fields structure | |
parsePost ( array $fields, $previousValues = null ) |
Method | Description | |
---|---|---|
_checkItem ( $items, $itemName, $fields, $forPlans, $empty ) | ||
_generateFileName ( $filename = '', $prefix = '', $glue = true ) | ||
_handleRelations ( $itemName, array $fieldsList, array &$fields ) | ||
_processFileField ( array $field, array $file, $path ) | ||
_processImageField ( array $field, array $file, $path ) |
Method | Description | |
---|---|---|
_getFieldgroups ( $aco = null, $itemName = null, $aWhere = '', &$itemData, $params = [] ) |
protected _checkItem ( $items, $itemName, $fields, $forPlans, $empty ) |
protected static _generateFileName ( $filename = '', $prefix = '', $glue = true ) |
protected static _handleRelations ( $itemName, array $fieldsList, array &$fields ) | ||
$fieldsList | array | |
$fields | array |
protected static _processFileField ( array $field, array $file, $path ) | ||
$field | array | |
$file | array |
protected static _processImageField ( array $field, array $file, $path ) | ||
$field | array | |
$file | array |
public static getAcoFieldsList ( $pageName = null, $itemName = null, $aWhere = '', $aAllFieldInfo = false, $aItemData = false, $params = [] ) |
public static keepValues ( array &$itemData, array $fields, array $extraValues = [], array $data = null ) : void | ||
$itemData | array | resulting array |
$fields | array | standard fields structure returned by methods of this class |
$extraValues | array | values that will be merged to $itemData |
$data | array | source data (POST values are used if nothing specified) |
return | void |