Move a page
public static move ( integer $id, integer $droppedOn, string $typeOfDrop, string $tree, string $language = null ) : boolean | ||
$id | integer | The id for the page that has to be moved. |
$droppedOn | integer | The id for the page where to page has been dropped on. |
$typeOfDrop | string | The type of drop, possible values are: before, after, inside. |
$tree | string | The tree the item is dropped on, possible values are: main, meta, footer, root. |
$language | string | The language to use, if not provided we will use the working language. |
return | boolean |