szurubooru/src/Controllers/UserController.php

23 lines
362 B
PHP
Raw Normal View History

2013-10-05 19:24:08 +02:00
<?php
2013-10-05 21:24:20 +02:00
class UserController
2013-10-05 19:24:08 +02:00
{
/**
* @route /users
*/
public function listAction()
{
2013-10-05 21:22:28 +02:00
$this->context->subTitle = 'users';
2013-10-12 22:37:18 +02:00
throw new SimpleException('Not implemented');
2013-10-05 19:24:08 +02:00
}
/**
* @route /user/{name}
* @validate name [^\/]+
*/
2013-10-12 10:46:15 +02:00
public function viewAction($name)
2013-10-05 19:24:08 +02:00
{
2013-10-05 21:22:28 +02:00
$this->context->subTitle = $name;
2013-10-12 22:37:18 +02:00
throw new SimpleException('Not implemented');
2013-10-05 19:24:08 +02:00
}
}