correct components and models of SeminaryRoleController
This commit is contained in:
parent
a0f85a976a
commit
ff85002070
1 changed files with 9 additions and 2 deletions
|
|
@ -13,18 +13,25 @@
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Abstract class for implementing a Controller of a ToplevelAgent.
|
* Abstract class for implementing a Controller for a Seminary and its
|
||||||
|
* concepts.
|
||||||
*
|
*
|
||||||
* @author Oliver Hanraths <oliver.hanraths@uni-duesseldorf.de>
|
* @author Oliver Hanraths <oliver.hanraths@uni-duesseldorf.de>
|
||||||
*/
|
*/
|
||||||
abstract class SeminaryRoleController extends \hhu\z\Controller
|
abstract class SeminaryRoleController extends \hhu\z\Controller
|
||||||
{
|
{
|
||||||
|
/**
|
||||||
|
* Required components
|
||||||
|
*
|
||||||
|
* @var array
|
||||||
|
*/
|
||||||
|
public $components = array('achievement', 'auth');
|
||||||
/**
|
/**
|
||||||
* Required models
|
* Required models
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
*/
|
*/
|
||||||
public $models = array('userseminaryroles');
|
public $models = array('seminaries', 'userseminaryroles', 'characters', 'achievements');
|
||||||
/**
|
/**
|
||||||
* Data of currently logged in user if any
|
* Data of currently logged in user if any
|
||||||
*
|
*
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue