Свойство | Тип | Описание | |
---|---|---|---|
$pg |
Метод | Описание | |
---|---|---|
airshipLand ( ) | This function is called after the dependencies have been injected by AutoPilot. Think of it as a user-land constructor. | |
deleteDir ( string $cabin = '' ) | Delete a directory in the custom page system | |
deletePage ( string $cabin = '' ) | ||
editPage ( string $cabin = '' ) | We're going to edit a directory | |
forCabin ( string $cabin = '' ) | List all of the subdirectories and custom pages in a given directory | |
index ( ) | Serve the index page | |
newDir ( string $cabin = '' ) | We're going to create a directory | |
newPage ( string $cabin = '' ) | Create a new page | |
pageHistory ( string $cabin = '' ) | We're going to view a page's history | |
pageHistoryDiff ( string $cabin, string $leftUnique, string $rightUnique ) | We're going to view a page's history | |
pageHistoryView ( string $cabin, string $uniqueId ) | We're going to view a page's history | |
renameDir ( string $cabin ) | We're going to move/rename a directory | |
renamePage ( string $cabin ) | We're going to create a directory |
Метод | Описание | |
---|---|---|
detectCollisions ( string $uri, string $cabin ) : boolean | Find probable collisions between patterns and cabin names, as well as hard-coded paths in the current cabin. It does NOT look for collisions in custom pages, nor in page collisions in foreign Cabins (outside of the Cabin itself). | |
determinePath ( string &$cabin ) : string | Business logic. | |
processDeleteDir ( integer $targetID, array $post = [], string $oldCabin = '', array $cabins = [] ) : boolean | ||
processDeletePage ( integer $pageId, array $post = [], string $cabin = '', string $dir = '' ) : boolean | Confirm deletion | |
processEditPage ( integer $pageId, array $post = [], string $cabin = '', string $dir = '' ) : boolean | Create a new page in the current directory | |
processMoveDir ( array $dirInfo, array $post = [], string $oldCabin = '', array $cabins = [] ) : boolean | Move/rename a directory. | |
processMovePage ( array $page, array $post, string $cabin, string $dir ) : boolean | Move a page | |
processNewDir ( string $cabin, string $parent, array $post = [] ) : boolean | ||
processNewPage ( string $cabin, string $path, array $post = [] ) : boolean | Create a new page in the current directory | |
setTemplateExtraData ( string $cabin ) | Set the cabin links |
public airshipLand ( ) |
protected determinePath ( string &$cabin ) : string | ||
$cabin | string | |
Результат | string |
public pageHistory ( string $cabin = '' ) | ||
$cabin | string |
public pageHistoryView ( string $cabin, string $uniqueId ) | ||
$cabin | string | |
$uniqueId | string |
public renamePage ( string $cabin ) | ||
$cabin | string |
protected setTemplateExtraData ( string $cabin ) | ||
$cabin | string |