45 | | // Which columns to list, and include data from. |
46 | | $columns = array(); |
47 | | // The available actions for each column |
48 | | $actions = array(); |
49 | | // Any extra filtering to perform on the data from the database. |
50 | | $extraFilters = ""; |
51 | | // Any tables to join in, and any extra filters to implement on those tables |
52 | | $joinTables = ""; |
53 | | // Whether to fetch associated data or not ( (-1) means not at all ). |
54 | | $recursive = (-1); |
| 45 | // Which columns to list, and include data from. |
| 46 | $columns = array(); |
| 47 | // The available actions for each column |
| 48 | $actions = array(); |
| 49 | // Any extra filtering to perform on the data from the database. |
| 50 | $extraFilters = ""; |
| 51 | // Any tables to join in, and any extra filters to implement on those tables |
| 52 | $joinTables = ""; |
| 53 | // Whether to fetch associated data or not ( (-1) means not at all ). |
| 54 | $recursive = (-1); |
56 | | $this->AjaxList->setUp($this->, $columns, $actions, |
57 | | "Group.group_num", "Group.group_name", |
58 | | $joinTables, $extraFilters, $recursive, "postProcess"); |
| 56 | // Call the Ajax List components to fetch data and other list variables, |
| 57 | // and set them up for the view. |
| 58 | $this->AjaxList->setUp($this->ListedModel, |
| 59 | $columns, $actions, |
| 60 | "ListedModel.id", // Initial Sorting Column |
| 61 | "ListedModel.id", // Initial Search-by column |
| 62 | $joinTables, $extraFilters, $recursive); |