Changeset View
Changeset View
Standalone View
Standalone View
branches/5.2.x/core/units/groups/groups_config.php
Show First 20 Lines • Show All 102 Lines • ▼ Show 20 Line(s) | |||||
'total' => Array ( | 'total' => Array ( | ||||
'UserCount' => 'SELECT COUNT(*) FROM ' . TABLE_PREFIX . 'UserGroupRelations ug WHERE ug.GroupId = %1$s.GroupId', | 'UserCount' => 'SELECT COUNT(*) FROM ' . TABLE_PREFIX . 'UserGroupRelations ug WHERE ug.GroupId = %1$s.GroupId', | ||||
), | ), | ||||
), | ), | ||||
'Fields' => Array ( | 'Fields' => Array ( | ||||
'GroupId' => Array ('type' => 'int', 'not_null' => 1, 'default' => 0), | 'GroupId' => Array ('type' => 'int', 'not_null' => 1, 'default' => 0), | ||||
'Name' => Array ('type' => 'string', 'not_null' => 1, 'required' => 1, 'default' => ''), | 'Name' => Array ('type' => 'string', 'not_null' => 1, 'required' => 1, 'default' => ''), | ||||
'Description' => Array ('type' => 'string', 'formatter' => 'kFormatter', 'using_fck' => 1, 'default' => null), | 'Description' => Array ('type' => 'string', 'default' => null), | ||||
'CreatedOn' => Array ('type' => 'int', 'formatter' => 'kDateFormatter', 'default' => '#NOW#'), | 'CreatedOn' => Array ('type' => 'int', 'formatter' => 'kDateFormatter', 'default' => '#NOW#'), | ||||
'System' => Array ('type' => 'int', 'not_null' => 1, 'default' => 0), | 'System' => Array ('type' => 'int', 'not_null' => 1, 'default' => 0), | ||||
'Personal' => Array ('type' => 'int', 'not_null' => 1, 'default' => 0), | 'Personal' => Array ('type' => 'int', 'not_null' => 1, 'default' => 0), | ||||
'Enabled' => Array ('type' => 'int', 'formatter' => 'kOptionsFormatter', 'options' => Array (1 => 'la_Enabled', 0 => 'la_Disabled'), 'use_phrases' => 1, 'not_null' => 1, 'default' => 1), | 'Enabled' => Array ('type' => 'int', 'formatter' => 'kOptionsFormatter', 'options' => Array (1 => 'la_Enabled', 0 => 'la_Disabled'), 'use_phrases' => 1, 'not_null' => 1, 'default' => 1), | ||||
'FrontRegistration' => Array ( | 'FrontRegistration' => Array ( | ||||
'type' => 'int', | 'type' => 'int', | ||||
'formatter' => 'kOptionsFormatter', 'options' => Array (1 => 'la_Yes', 0 => 'la_No'), 'use_phrases' => 1, | 'formatter' => 'kOptionsFormatter', 'options' => Array (1 => 'la_Yes', 0 => 'la_No'), 'use_phrases' => 1, | ||||
'not_null' => 1, 'default' => 0 | 'not_null' => 1, 'default' => 0 | ||||
▲ Show 20 Lines • Show All 42 Lines • ▼ Show 20 Line(s) | |||||
), | ), | ||||
'Fields' => Array ( | 'Fields' => Array ( | ||||
'GroupId' => Array ('title' => 'column:la_fld_Id', 'data_block' => 'grid_checkbox_td', 'filter_block' => 'grid_range_filter', 'width' => 60, ), | 'GroupId' => Array ('title' => 'column:la_fld_Id', 'data_block' => 'grid_checkbox_td', 'filter_block' => 'grid_range_filter', 'width' => 60, ), | ||||
'Name' => Array ('title' => 'column:la_fld_GroupName', 'width' => 150, ), | 'Name' => Array ('title' => 'column:la_fld_GroupName', 'width' => 150, ), | ||||
'Description' => Array ('width' => 250, ), | 'Description' => Array ('width' => 250, ), | ||||
), | ), | ||||
), | ), | ||||
), | ), | ||||
); | ); | ||||
No newline at end of file |