프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$category | Model | If the post list should be filtered by a category, the model to use. | |
$categoryPage | string | Reference to the page name for linking to categories. | |
$noPostsMessage | string | Message to display when there are no messages. | |
$pageParam | string | Parameter to use for the page number | |
$postPage | string | Reference to the page name for linking to posts. | |
$posts | Collection | A collection of posts to display | |
$sortOrder | string | If the post list should be ordered by another attribute. |
메소드 | 설명 | |
---|---|---|
componentDetails ( ) | ||
defineProperties ( ) | ||
getCategoryPageOptions ( ) | ||
getPostPageOptions ( ) | ||
getSortOrderOptions ( ) | ||
onRun ( ) |
메소드 | 설명 | |
---|---|---|
listPosts ( ) | ||
loadCategory ( ) | ||
prepareVars ( ) |
public Model $category | ||
리턴 | Model |
public string $categoryPage | ||
리턴 | string |
public string $noPostsMessage | ||
리턴 | string |
public string $postPage | ||
리턴 | string |
public string $sortOrder | ||
리턴 | string |