프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$author | |||
$blog |
메소드 | 설명 | |
---|---|---|
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 |
메소드 | 설명 | |
---|---|---|
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 ( ) |
protected flattenOld ( array $oldItems ) : array | ||
$oldItems | array | |
리턴 | array |
protected getOffsetAndLimit ( string $page = null, integer $per_page ) : int[] | ||
$page | string | |
$per_page | integer | |
리턴 | int[] |
public postHistory ( string $postID = '' ) | ||
$postID | string |
public postHistoryView ( string $postID = '', string $uniqueID = '' ) | ||
$postID | string | |
$uniqueID | string |
protected Author,Airship\Cabin\Bridge\Blueprint $author | ||
리턴 |