-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a12a4f2
commit b4c8bc8
Showing
8 changed files
with
32 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,6 +25,10 @@ | |
* @author [email protected] | ||
* @license BSD License (http://silverstripe.org/bsd-license/) | ||
* @package advancedworkflow | ||
* | ||
* @method WorkflowDefinition WorkflowDef() | ||
* @method Member Member() | ||
* @method \SilverStripe\ORM\HasManyList<WorkflowTransition> Transitions() | ||
*/ | ||
class WorkflowAction extends DataObject | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,6 +41,9 @@ | |
* @method WorkflowDefinition Definition() | ||
* @method WorkflowActionInstance CurrentAction() | ||
* @method Member Initiator() | ||
* @method \SilverStripe\ORM\HasManyList<WorkflowActionInstance> Actions() | ||
* @method \SilverStripe\ORM\ManyManyList<Member> Users() | ||
* @method \SilverStripe\ORM\ManyManyList<Group> Groups() | ||
* | ||
* @author [email protected] | ||
* @license BSD License (http://silverstripe.org/bsd-license/) | ||
|
@@ -287,7 +290,7 @@ public function Target($getLive = false) | |
/** | ||
* Returns the field differences between the older version and current version of Target | ||
* | ||
* @return ArrayList | ||
* @return ArrayList<ArrayData> | ||
*/ | ||
public function getTargetDiff() | ||
{ | ||
|
@@ -481,7 +484,7 @@ public function performTransition(WorkflowTransition $transition) | |
* Returns a list of all Members that are assigned to this instance, either directly or via a group. | ||
* | ||
* @todo This could be made more efficient. | ||
* @return ArrayList | ||
* @return ArrayList<Member> | ||
*/ | ||
public function getAssignedMembers() | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters