Class lispa\amos\projectmanagement\utility\ProjectManagementUtility

Inheritancelispa\amos\projectmanagement\utility\ProjectManagementUtility

Class ProjectManagementUtility

Public Methods

Hide inherited methods

MethodDescriptionDefined By
activityRoles() lispa\amos\projectmanagement\utility\ProjectManagementUtility
communityActivityRoles() lispa\amos\projectmanagement\utility\ProjectManagementUtility
communityEditActivityRoles() lispa\amos\projectmanagement\utility\ProjectManagementUtility
communitySeeActivityRoles() lispa\amos\projectmanagement\utility\ProjectManagementUtility
deleteCommunityLogo() This method delete the community logo. lispa\amos\projectmanagement\utility\ProjectManagementUtility
duplicateLogoFromCommunity() Utility for duplicate the model logo in the project logo. lispa\amos\projectmanagement\utility\ProjectManagementUtility
duplicateTagForCommunity() lispa\amos\projectmanagement\utility\ProjectManagementUtility
editActivityPlan() lispa\amos\projectmanagement\utility\ProjectManagementUtility
editActivityRoles() lispa\amos\projectmanagement\utility\ProjectManagementUtility
getProjectTasksCount() lispa\amos\projectmanagement\utility\ProjectManagementUtility
getProjectsMeasuresForSelect() This method returns all the projects measures ready to be used in a select widget. lispa\amos\projectmanagement\utility\ProjectManagementUtility
getProjectsWorkflowStatusesForSelect() This method returns all the workflow statuses for the Projects model. lispa\amos\projectmanagement\utility\ProjectManagementUtility
isLoggedUserResponsibleTaskOrActivity() lispa\amos\projectmanagement\utility\ProjectManagementUtility
isReferentWpOrActivity() lispa\amos\projectmanagement\utility\ProjectManagementUtility
isSetCwhScope() lispa\amos\projectmanagement\utility\ProjectManagementUtility
loggedUsedIsCommunityManager() lispa\amos\projectmanagement\utility\ProjectManagementUtility
loggedUserIsCommunityManager() lispa\amos\projectmanagement\utility\ProjectManagementUtility
seeActivityPlan() lispa\amos\projectmanagement\utility\ProjectManagementUtility
seeActivityRoles() lispa\amos\projectmanagement\utility\ProjectManagementUtility
translateArrayValues() This method translate the array values. lispa\amos\projectmanagement\utility\ProjectManagementUtility
viewActivityPlanButton() lispa\amos\projectmanagement\utility\ProjectManagementUtility

Method Details

activityRoles() public static method

public static string[] activityRoles ( )
communityActivityRoles() public static method

public static string[] communityActivityRoles ( )
communityEditActivityRoles() public static method

public static string[] communityEditActivityRoles ( )
communitySeeActivityRoles() public static method

public static string[] communitySeeActivityRoles ( )
deleteCommunityLogo() public static method

This method delete the community logo.

public static void deleteCommunityLogo ( $model )
$model lispa\amos\projectmanagement\models\Projects
duplicateLogoFromCommunity() public static method

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
duplicateTagForCommunity() public static method

public static boolean duplicateTagForCommunity ( $model, $modelClassName )
$model lispa\amos\projectmanagement\models\Projects
$modelClassName
editActivityPlan() public static method

public static boolean editActivityPlan ( $currentRoleId )
$currentRoleId integer
editActivityRoles() public static method

public static string[] editActivityRoles ( )
getProjectTasksCount() public static method

public static integer getProjectTasksCount ( $model )
$model lispa\amos\projectmanagement\models\Projects
getProjectsMeasuresForSelect() public static method

This method returns all the projects measures ready to be used in a select widget.

public static lispa\amos\projectmanagement\models\ProjectsMeasure[] getProjectsMeasuresForSelect ( )
getProjectsWorkflowStatusesForSelect() public static method

This method returns all the workflow statuses for the Projects model.

public static \raoul2000\workflow\base\StatusInterface[] getProjectsWorkflowStatusesForSelect ( )
throws \raoul2000\workflow\base\WorkflowException
isLoggedUserResponsibleTaskOrActivity() public static method

public static boolean isLoggedUserResponsibleTaskOrActivity ( lispa\amos\projectmanagement\models\ProjectsTasks $task )
$task lispa\amos\projectmanagement\models\ProjectsTasks
isReferentWpOrActivity() public static method

public static boolean isReferentWpOrActivity ( $community_id )
$community_id
isSetCwhScope() public static method

public static boolean isSetCwhScope ( )
loggedUsedIsCommunityManager() public static method

public static boolean loggedUsedIsCommunityManager ( $communityId null )
$communityId integer|null
throws lispa\amos\community\exceptions\CommunityException
loggedUserIsCommunityManager() public static method

public static boolean loggedUserIsCommunityManager ( $communityId null )
$communityId integer|null
throws lispa\amos\community\exceptions\CommunityException
seeActivityPlan() public static method

public static boolean seeActivityPlan ( $currentRoleId )
$currentRoleId integer
seeActivityRoles() public static method

public static string[] seeActivityRoles ( )
translateArrayValues() public static method

This method translate the array values.

public static array translateArrayValues ( $arrayValues )
$arrayValues array
viewActivityPlanButton() public static method

public static boolean viewActivityPlanButton ( $currentRoleId )
$currentRoleId integer