Lines Matching defs:selection
85 * Get POSTed selection
92 $selection = json_decode($INPUT->post->str('selection', '', true), true);
93 if(!is_array($selection)) {
94 $selection = array();
96 return $selection;
102 * @param array $selection
105 private function retrievePageInfo($selection) {
106 $response['selection'] = array();
107 foreach($selection as $pageid) {
112 $response['selection'][$page] = array(wl($page, false, true, "&"), $this->getTitle($page));
159 * Handle request for saving the selection list
163 * @param string $savedSelectionName Title for saved selection
164 * @param array $selection
168 private function saveSelection($savedSelectionName, $selection) {
172 if(empty($selection)) {
182 foreach($selection as $pageid) {
200 * Handle request for deleting of selection list
202 * @param string $page with saved selection
224 * Load the specified saved selection
226 * @param string $page with saved selection
247 $response['selection'] = $list;
254 * @param string $pageid pagename containing the selection