|
1C-Bitrix 25.700.0
|
Открытые члены | |
| __construct (DataProvider ... $providers) | |
| getIterator () | |
| count () | |
| getColumn (string $id) | |
| getSelect (?array $columnIds=null, ?array $providers=null) | |
| prepareEditableColumnsValues (array $values) | |
Защищенные члены | |
| prepareColumns (array $columns) | |
| getProvidersColumns () | |
Columns collections.
The main task is to work with columns: reading, filtering and generating a select statement.
См. определение в файле columns.php строка 13
| __construct | ( | DataProvider ... | $providers | ) |
| DataProvider | $providers |
См. определение в файле columns.php строка 25
|
final |
|
final |
Column by id.
| string | $id |
См. определение в файле columns.php строка 61
|
final |
|
finalprotected |
Map of providers columns.
См. определение в файле columns.php строка 118
Gets a list of select names for the specified columns.
Single column can use multiple fields in a query. Necessary columns will also be returned, even if they are not specified in the arguments (taking into account filtering by providers).
All columns of all providers:
Filter by columns (typical usage: show only visible columns):
Filter by providers (for example: grid contains columns from different tablets):
And both filters:
| string[] | null | $columnIds | if is null, returns all columns. |
| string[] | null | $providers | array with provider's class full names. If filled in, the columns will be taken only from the specified providers. ATTENTION: necessary columns from other providers will NOT BE INCLUDED in the result! |
См. определение в файле columns.php строка 189
|
protected |
См. определение в файле columns.php строка 108
| prepareEditableColumnsValues | ( | array | $values | ) |
Returns only those values that are present in the column collection and are editable.
| array | $values |
Переопределяется в ProductColumns.
См. определение в файле columns.php строка 251