Class lispa\amos\projectmanagement\utility\ProjectManagementUtility
Inheritance | lispa\amos\projectmanagement\utility\ProjectManagementUtility |
---|
Class ProjectManagementUtility
Public Methods
Method Details
public static string[] activityRoles ( ) |
public static string[] communityActivityRoles ( ) |
public static string[] communityEditActivityRoles ( ) |
public static string[] communitySeeActivityRoles ( ) |
This method delete the community logo.
public static void deleteCommunityLogo ( $model ) | ||
$model | lispa\amos\projectmanagement\models\Projects |
Utility for duplicate the model logo in the project logo.
public static boolean duplicateLogoFromCommunity ( lispa\amos\community\models\Community $modelCommunity, lispa\amos\projectmanagement\models\Projects $modelProject, $logoField, $modelClassName ) | ||
$modelCommunity | lispa\amos\community\models\Community | |
$modelProject | lispa\amos\projectmanagement\models\Projects | |
$logoField | string | |
$modelClassName | string |
public static boolean duplicateTagForCommunity ( $model, $modelClassName ) | ||
$model | lispa\amos\projectmanagement\models\Projects | |
$modelClassName |
public static boolean editActivityPlan ( $currentRoleId ) | ||
$currentRoleId | integer |
public static string[] editActivityRoles ( ) |
public static integer getProjectTasksCount ( $model ) | ||
$model | lispa\amos\projectmanagement\models\Projects |
This method returns all the projects measures ready to be used in a select widget.
public static lispa\amos\projectmanagement\models\ProjectsMeasure[] getProjectsMeasuresForSelect ( ) |
This method returns all the workflow statuses for the Projects model.
public static \raoul2000\workflow\base\StatusInterface[] getProjectsWorkflowStatusesForSelect ( ) | ||
throws | \raoul2000\workflow\base\WorkflowException |
---|
public static boolean isLoggedUserResponsibleTaskOrActivity ( lispa\amos\projectmanagement\models\ProjectsTasks $task ) | ||
$task | lispa\amos\projectmanagement\models\ProjectsTasks |
public static boolean isReferentWpOrActivity ( $community_id ) | ||
$community_id |
public static boolean isSetCwhScope ( ) |
public static boolean loggedUsedIsCommunityManager ( $communityId = null ) | ||
$communityId | integer|null | |
throws | lispa\amos\community\exceptions\CommunityException |
---|
public static boolean loggedUserIsCommunityManager ( $communityId = null ) | ||
$communityId | integer|null | |
throws | lispa\amos\community\exceptions\CommunityException |
---|
public static boolean seeActivityPlan ( $currentRoleId ) | ||
$currentRoleId | integer |
public static string[] seeActivityRoles ( ) |
This method translate the array values.
public static array translateArrayValues ( $arrayValues ) | ||
$arrayValues | array |
public static boolean viewActivityPlanButton ( $currentRoleId ) | ||
$currentRoleId | integer |