메소드 | 설명 | |
---|---|---|
activityAction ( $offset ) | Shows the latest activity on the forum | |
createAction ( ) | This shows the create post form and also store the related post | |
deleteAction ( integer $id ) : Phalcon\Http\ResponseInterface | Deletes the Post | |
editAction ( integer $id ) | This shows the create post form and also store the related post | |
findRelatedAction ( ) : Phalcon\Http\ResponseInterface | Finds related posts | |
historyAction ( integer $id ) | Shows the latest modification made to a post | |
indexAction ( string $order = null, integer $offset ) | Shows latest posts using an order clause | |
ircAction ( ) | Shows the latest activity on the IRC | |
notificationsAction ( $offset ) | Shows the latest notifications for the current user | |
searchAction ( ) | Perform the search of posts only searching in the title | |
showRelatedAction ( ) | Finds related posts | |
stickAction ( integer $id ) : Phalcon\Http\ResponseInterface | Stick post. | |
subscribeAction ( string $id ) : Phalcon\Http\ResponseInterface | Subscribe to a post to receive e-mail notifications | |
unstickAction ( integer $id ) : Phalcon\Http\ResponseInterface | Unstick post. | |
unsubscribeAction ( string $id ) : Phalcon\Http\ResponseInterface | Unsubscribe from a post of receiving e-mail notifications | |
viewAction ( integer $id, string $slug = '' ) | Displays a post and its comments | |
voteDownAction ( integer $id ) : Phalcon\Http\ResponseInterface | Votes a post down | |
voteUpAction ( integer $id ) : Phalcon\Http\ResponseInterface | Votes a post up |
public createAction ( ) |
public deleteAction ( integer $id ) : Phalcon\Http\ResponseInterface | ||
$id | integer | |
리턴 | Phalcon\Http\ResponseInterface |
public editAction ( integer $id ) | ||
$id | integer | Post ID |
public findRelatedAction ( ) : Phalcon\Http\ResponseInterface | ||
리턴 | Phalcon\Http\ResponseInterface |
public historyAction ( integer $id ) | ||
$id | integer | The Post id. |
public indexAction ( string $order = null, integer $offset ) | ||
$order | string | |
$offset | integer |
public notificationsAction ( $offset ) |
public searchAction ( ) |
public stickAction ( integer $id ) : Phalcon\Http\ResponseInterface | ||
$id | integer | Post ID |
리턴 | Phalcon\Http\ResponseInterface |
public subscribeAction ( string $id ) : Phalcon\Http\ResponseInterface | ||
$id | string | |
리턴 | Phalcon\Http\ResponseInterface |
public unstickAction ( integer $id ) : Phalcon\Http\ResponseInterface | ||
$id | integer | Post ID |
리턴 | Phalcon\Http\ResponseInterface |
public unsubscribeAction ( string $id ) : Phalcon\Http\ResponseInterface | ||
$id | string | |
리턴 | Phalcon\Http\ResponseInterface |
public viewAction ( integer $id, string $slug = '' ) | ||
$id | integer | Post ID |
$slug | string | Post slug [Optional] |
public voteDownAction ( integer $id ) : Phalcon\Http\ResponseInterface | ||
$id | integer | The post ID. |
리턴 | Phalcon\Http\ResponseInterface |
public voteUpAction ( integer $id ) : Phalcon\Http\ResponseInterface | ||
$id | integer | The post ID. |
리턴 | Phalcon\Http\ResponseInterface |