Class lispa\amos\projectmanagement\controllers\ProjectsController
This is the class for controller "ProjectsController".
Public Properties
Public Methods
Protected Methods
Events
Event | Type | Description | Defined By |
---|---|---|---|
EVENT_AFTER_ACTION | yii\base\ActionEvent | An event raised right after executing a controller action. | yii\base\Controller |
EVENT_BEFORE_ACTION | yii\base\ActionEvent | An event raised right before executing a controller action. | yii\base\Controller |
Constants
Constant | Value | Description | Defined By |
---|---|---|---|
AFTER_FINDMODEL_EVENT | "afterFindModel" | lispa\amos\core\controllers\CrudController | |
BEFORE_FINDMODEL_EVENT | "beforeFindModel" | lispa\amos\core\controllers\CrudController |
Method Details
public mixed actionAssociateCostItems ( $id ) | ||
$id |
public string actionAssociateUserRoles ( $id ) | ||
$id | Projects |
|
throws | yii\web\NotFoundHttpException |
---|
Gets the list of all projects created by the logged user
public string actionCreatedByProjects ( ) |
public yii\web\Response actionDeleteCostM2m ( $id, $targetId ) | ||
$id | ||
$targetId |
public void|yii\web\Response actionDeleteJoinedOrganizationM2m ( $id, $targetId ) | ||
$id | ||
$targetId |
public string|yii\web\Response actionDeleteUserRoles ( $id ) | ||
$id | ||
throws | yii\web\NotFoundHttpException |
---|
Method to view all projects
public string actionIndex ( $layout = null ) | ||
$layout |
public string|yii\web\Response actionModifyUserRoles ( $id ) | ||
$id | ||
throws | yii\web\NotFoundHttpException |
---|
Gets the list of all projects to which the logged user is registered
public string actionMyProjects ( ) |
public yii\web\Response actionNew ( ) |
Method to view all projects
public string actionOwnProjects ( $layout = null ) | ||
$layout |
Redraw widget spending voices in project form
public string actionSpendingVoices ( $id ) | ||
$id |
|
|
return | string | The html code to render |
---|
public void actionSubscribe ( ) |
public void actionUserOrganizations ( ) |
public void beforeAction ( $action ) | ||
$action |
public void beforeCancelAssociateM2m ( $event ) | ||
$event |
public array behaviors ( ) |
Configure the m2mwidget to work with associate cost
public void configureAssociateCostItems ( ) |
public void init ( ) | ||
throws | yii\base\InvalidConfigException |
---|
public void setCreateNewButton ( ) |
public boolean setUpLayout ( $layout = null ) | ||
$layout | null |
public static void transarray ( $array ) | ||
$array |