Changeset View
Changeset View
Standalone View
Standalone View
modules/custom/units/widgets/widgets_config.php
Show All 21 Lines | |||||
'QueryString' => Array ( | 'QueryString' => Array ( | ||||
1 => 'id', | 1 => 'id', | ||||
2 => 'Page', | 2 => 'Page', | ||||
3 => 'PerPage', | 3 => 'PerPage', | ||||
4 => 'event', | 4 => 'event', | ||||
5 => 'mode', | 5 => 'mode', | ||||
), | ), | ||||
// in case, when one method does everything | |||||
'RewriteListener' => 'WidgetRewriteListener', | |||||
// in case, when building and parsing is done by separate methods | |||||
// 'RewriteListener' => Array ('WidgetRewriteBuilder', 'WidgetRewriteParser'), | |||||
'IDField' => 'WidgetId', | 'IDField' => 'WidgetId', | ||||
'StatusField' => Array ('Status'), | 'StatusField' => Array ('Status'), | ||||
'TableName' => TABLE_PREFIX.'Widgets', | 'TableName' => TABLE_PREFIX.'Widgets', | ||||
/* | /* | ||||
'ForeignKey' => 'ParentId', // field title in TableName, linking record to a parent | 'ForeignKey' => 'ParentId', // field title in TableName, linking record to a parent | ||||
▲ Show 20 Lines • Show All 167 Lines • ▼ Show 20 Line(s) | |||||
), | ), | ||||
), | ), | ||||
), | ), | ||||
/*'ConfigMapping' => Array ( | /*'ConfigMapping' => Array ( | ||||
'PerPage' => 'Perpage_Widgets', | 'PerPage' => 'Perpage_Widgets', | ||||
'ShortListPerPage' => 'Perpage_Widgets_Short', | 'ShortListPerPage' => 'Perpage_Widgets_Short', | ||||
),*/ | ),*/ | ||||
); | ); | ||||
No newline at end of file |