Page Tree and Context Menu Commands
Definition at line 27 of file Commands.php.
Copies a page and returns the id of the new page
Node: Use a negative target id to specify a sibling target else the parent is used
- Parameters
-
\TYPO3\CMS\Backend\Tree\Pagetree\PagetreeNode | $sourceNode | |
int | $targetId | |
- Returns
- int
Definition at line 132 of file Commands.php.
Creates a page of the given doktype and returns the id of the created page
- Parameters
-
\TYPO3\CMS\Backend\Tree\Pagetree\PagetreeNode | $parentNode | |
int | $targetId | |
int | $pageType | |
- Returns
- int
Definition at line 162 of file Commands.php.
Delete the page
- Parameters
-
\TYPO3\CMS\Backend\Tree\Pagetree\PagetreeNode | $node | |
- Returns
- void
Definition at line 84 of file Commands.php.
Hide the page
- Parameters
-
\TYPO3\CMS\Backend\Tree\Pagetree\PagetreeNode | $node | |
- Returns
- void
Definition at line 72 of file Commands.php.
static getDomainName |
( |
|
$uid | ) |
|
|
static |
Returns the first configured domain name for a page
- Parameters
-
- Returns
- string
Definition at line 290 of file Commands.php.
static getMountPointPath |
( |
|
$uid = -1 | ) |
|
|
static |
static getNode |
( |
|
$nodeId, |
|
|
|
$unsetMovePointers = true |
|
) |
| |
|
static |
Returns a node from the given node id
- Parameters
-
int | $nodeId | |
bool | $unsetMovePointers | |
- Returns
Definition at line 234 of file Commands.php.
static getNodeRecord |
( |
|
$nodeId, |
|
|
|
$unsetMovePointers = true |
|
) |
| |
|
static |
Returns a node record from a given id
- Parameters
-
int | $nodeId | |
bool | $unsetMovePointers | |
- Returns
- array
Definition at line 278 of file Commands.php.
Moves a page
Node: Use a negative target id to specify a sibling target else the parent is used
- Parameters
-
\TYPO3\CMS\Backend\Tree\Pagetree\PagetreeNode | $sourceNode | |
int | $targetId | |
- Returns
- void
Definition at line 148 of file Commands.php.
Restore the page
- Parameters
-
\TYPO3\CMS\Backend\Tree\Pagetree\PagetreeNode | $node | |
int | $targetId | |
- Returns
- void
Definition at line 97 of file Commands.php.
Updates the node label
- Parameters
-
\TYPO3\CMS\Backend\Tree\Pagetree\PagetreeNode | $node | |
string | $updatedLabel | |
- Returns
- void
Definition at line 113 of file Commands.php.
References $GLOBALS.
Visibly the page
- Parameters
-
\TYPO3\CMS\Backend\Tree\Pagetree\PagetreeNode | $node | |
- Returns
- void
Definition at line 60 of file Commands.php.