Skip to content

Commit

Permalink
Working on transition. refs AppStateESS#175
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviaperugini committed Jul 11, 2017
1 parent 6ad0a10 commit b9ce8de
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion class/WorkflowState/DeanApprovedGradPendingState.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
namespace Intern\WorkflowState;
use Intern\WorkflowState;

class DeanApprovedGradPending extends WorkflowState {
class DeanApprovedGradPendingState extends WorkflowState {
const friendlyName = 'Dean Approved / Pending Graduate School Approval';
const sortIndex = 5;
}
1 change: 1 addition & 0 deletions class/WorkflowStateFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ public static function getAllStates()

// Instantiate each one
$states[] = new $className;

}
}

Expand Down
6 changes: 6 additions & 0 deletions class/WorkflowTransitionFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,4 +90,10 @@ private static function sortTransitions(WorkflowTransition $a, WorkflowTransitio
}
return ($a->getSortIndex() < $b->getSortIndex()) ? -1 : 1;
}

//getAllowedPermissionList(?
public static getAllowedPermissionList()
{

}
}

0 comments on commit b9ce8de

Please sign in to comment.