Property | Type | Description | |
---|---|---|---|
$author | |||
$blog |
Method | Description | |
---|---|---|
airshipLand ( ) | This function is called after the dependencies have been injected by AutoPilot. Think of it as a user-land constructor. | |
deleteCategory ( string $id = '' ) | Delete a category | |
deletePost ( string $id ) | Delete a blog post | |
deleteSeries ( string $id = '' ) | Delete a series. | |
editCategory ( string $id = '' ) | Edit a category | |
editPost ( string $id ) | Edit a blog post | |
editSeries ( string $seriesId ) | ||
editTag ( string $id = '' ) | Edit a tag | |
index ( ) | Blog management landing page | |
listCategories ( ) | List the categories | |
listComments ( string $page = null ) | ||
listPosts ( string $page = null ) | List the blog posts | |
listSeries ( mixed $page = null ) | ||
listTags ( mixed $page = null ) | List tags | |
newCategory ( ) | Create a new category | |
newPost ( ) | Create a new blog post | |
newSeries ( ) | Create a new blog series | |
postHistory ( string $postID = '' ) | View the history for a blog post. | |
postHistoryDiff ( string $postID = '', string $leftUnique = '', string $rightUnique = '' ) | Compare two versions of a blog post. | |
postHistoryView ( string $postID = '', string $uniqueID = '' ) | View a version of a blog post. | |
viewComment ( string $commentId = '' ) | View a comment |
Method | Description | |
---|---|---|
flattenOld ( array $oldItems ) : array | Convert a 2D array into a flat, ordered array of type_id | |
getOffsetAndLimit ( string $page = null, integer $per_page ) : int[] | Gets [offset, limit] based on configuration | |
processDeleteCategory ( integer $categoryId, array $post = [] ) : boolean | Delete a blog post category | |
processDeletePost ( array $post, array $authorsAllowed = [], array $oldPost = [] ) : boolean | Delete a blog post | |
processEditPost ( array $post, array $authorsAllowed = [], array $oldPost = [] ) : boolean | Update a blog post | |
processEditSeries ( array $post, integer $seriesId, array $oldItems = [] ) : boolean | Update the existing series | |
processEditTag ( integer $tagId, array $post ) : boolean | ||
processNewPost ( array $post, array $authorsAllowed = [] ) : boolean | Create a new blog post | |
processNewSeries ( array $post = [], array $authorsAllowed = [] ) : boolean | Create a new series |
public airshipLand ( ) |
public deleteCategory ( string $id = '' ) | ||
$id | string |
protected flattenOld ( array $oldItems ) : array | ||
$oldItems | array | |
return | array |
protected getOffsetAndLimit ( string $page = null, integer $per_page ) : int[] | ||
$page | string | |
$per_page | integer | |
return | int[] |
public postHistory ( string $postID = '' ) | ||
$postID | string |
public postHistoryView ( string $postID = '', string $uniqueID = '' ) | ||
$postID | string | |
$uniqueID | string |
public viewComment ( string $commentId = '' ) | ||
$commentId | string |
protected Author,Airship\Cabin\Bridge\Blueprint $author | ||
return |