Class lispa\amos\projectmanagement\controllers\ProjectsTasksController
This is the class for controller "ProjectsTasksController".
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 | |
ERROR_RELATION_FINISH_TO_FINISH | 2 | lispa\amos\projectmanagement\controllers\ProjectsTasksController | |
ERROR_RELATION_START_TO_START | 1 | lispa\amos\projectmanagement\controllers\ProjectsTasksController |
Method Details
public mixed actionAddOrganization ( $id ) | ||
$id |
Lists all ProjectsActivities models by Project.
public mixed actionByActivity ( ) |
Ajax call from font end to calculate end date of a task from start date, duration, scale
public string actionCalculateEndDate ( ) | ||
return | string | Json |
---|
public void actionDeleteOrganization ( $id, $targetId ) | ||
$id | ||
$targetId |
Lists all ProjectsTasks models.
public mixed actionIndex ( $layout = null ) | ||
$layout |
public void actionListOnly ( ) |
public mixed actionUpdate ( $id ) | ||
$id | integer |
public void beforeCancelAssociateM2m ( $event ) | ||
$event |
public void checkAndSendRelationErrors ( lispa\amos\projectmanagement\models\ProjectsTasks $model ) | ||
$model |
Configure the m2mwidget to work with participant organizations
public void configureAssociateOrganization ( ) |
public static string getRelationError ( $code, $requiredTask ) | ||
$code | integer | |
$requiredTask | lispa\amos\projectmanagement\models\ProjectsTasks |
Initialize m2m configuration default
public void init ( ) |
public boolean setUpLayout ( $layout = null ) | ||
$layout | null |
public void throwRelationError ( $code, $requiredTask ) | ||
$code | integer | |
$requiredTask | lispa\amos\projectmanagement\models\ProjectsTasks |