szurubooru/src/Controllers/PostController.php
2013-10-05 21:22:28 +02:00

32 lines
581 B
PHP

<?php
class PostController extends AbstractController
{
/**
* @route /posts
* @route /posts/{query}
* @validate query .*
*/
public function listAction($query = null)
{
$this->context->subTitle = 'browsing posts';
throw new Exception('Not implemented');
}
/**
* @route /post/upload
*/
public function uploadAction()
{
$this->context->subTitle = 'upload';
throw new Exception('Not implemented');
}
/**
* @route /post/{id}
*/
public function showAction($id)
{
$this->context->subTitle = 'showing @' . $id;
throw new Exception('Not implemented');
}
}