\CMSBatchAction_MoveToController
Controller to process move pages batch action.
Synopsis
class CMSBatchAction_MoveToController
extends LeftAndMain
{
- // members
- private static string $url_segment = 'batchmoveto';
- private static string $menu_title = 'Move to';
- private static boolean $required_permission_codes = false;
- private static array $allowed_actions = ;
- // methods
- public Form index()
- public Form MovePagesForm()
- public boolean doMovePages()
Hierarchy
Extends
- LeftAndMain
Members
private
- $allowed_actions
- $required_permission_codes
- $url_segment
Methods
public
- MovePagesForm() — Presents a form to select a new parent for pages selected with batch actions.
- doMovePages() — Handles the movement of pages within the sitetree Note: if a page is selected as it's own parent, it should be moved to root
- index() — Function called by AJAX from LeftAndMain.BatchActionsPlus.js and from $this->doMovePages().