/** * Move all selected records */ public function cutAll() { // GID tells about paste into a group if ($this->Input->get('gid') != '') { $arrClipboard = $this->Session->get('CLIPBOARD'); if (isset($arrClipboard[$this->strTable]) && is_array($arrClipboard[$this->strTable]['id'])) { foreach ($arrClipboard[$this->strTable]['id'] as $id) { $this->intId = $id; $this->cut(true); } } $this->redirect($this->getReferer()); } return parent::cutAll(); }