24 protected function run(array $params)
31 throw new LogicException(
"User does not exist");
34 throw new LogicException(
"Position does not exist");
37 throw new LogicException(
"OrgUnit does not exist");
41 'user_id' => $user_id,
42 'position_id' => $position_id,
43 'orgu_id' => $orgu_ref_id,
49 $this->
error(
"No assignment found");
60 return "removeUserFromPositionInOrgUnit";
87 return "Removes a user from a position in a orgunit";
static where($where, $operator=null)
An exception for terminatinating execution or to throw for unit testing.
Class AddUserIdToPositionInOrgUnit.
getDocumentation()
Get the documentation of this method.string
getAdditionalInputParams()
getOutputParams()
Get the output parameters in the same format as the input parameters.array
Class ilObject2 This is an intermediate progress of ilObject class.
static _lookupType($a_id, $a_reference=false)
lookup object type
static _exists($a_id, $a_reference=false, $a_type=null)
checks if an object exists in object_data@access public
Class ilOrgUnitUserAssignment.