getAllDefinitionstop
Description
LearningTagAttributeDefinitionList getAllDefinitions()
Return Values
LearningTagAttributeDefinitionList |
getAllFunctionstop
Description
LearningTagAttributeFunctionList getAllFunctions()
Return Values
LearningTagAttributeFunctionList |
getAttributesByNamestop
Description
LearningTagAttributeList getAttributesByNames(StringList $names)
Parameters
StringList | $names |
Return Values
LearningTagAttributeList |
logintop
Description
Initializes a new session with given information
boolean login(string $user, string $pass, int $network)
Parameters
string | $user | Username |
string | $pass | Password |
int | $network | $network Network ID |
Return Values
boolean | true on success, false on fail |
logouttop
Description
Destroys the active session, logging out the user.
boolean logout()
Return Values
boolean | true on success, false on fail |
saveAttributetop
Description
Requires admin rights.
boolean saveAttribute(LearningTagAttribute $attribute)
Parameters
LearningTagAttribute | $attribute |
Return Values
boolean | True on success, otherwise false |
Faults
saveDefinitiontop
Description
Requires admin rights.
boolean saveDefinition(LearningTagAttributeDefinition $definition)
Parameters
LearningTagAttributeDefinition | $definition |
Return Values
boolean | True on success, otherwise false |
Faults
ContentunitGroupBuilderAttributeFunctionLinktop
Definition
The linked attribute is used to build a contentunit group hierarchy when building
a contentunit from a learning tag candidate.
Each part of the attribute's value (separated by the section separator) represents a different contentunit group.
ExternalLearningTagAttributeDefinitiontop
Definition
- - boolean $required
-
required
- - LearningTagAttributeFunctionLink $functionLink
-
optional
InternalLearningTagAttributeDefinitiontop
Definition
- - string $cardinality
-
required
Possible values: 'single', 'multiple'
LearningTagAttributetop
Definition
- - string $name
-
required
- - string $value
-
required
LearningTagAttributeDefinitiontop
Definition
Inheriting types:
- InternalLearningTagAttributeDefinition
- ExternalLearningTagAttributeDefinition
- - string $name
-
required
LearningTagAttributeDefinitionListtop
Definition
- - Array <LearningTagAttributeDefinition> $definitions
-
optional
LearningTagAttributeFunctiontop
Definition
- - string $name
-
required
LearningTagAttributeFunctionLinktop
Definition
Gives a learning tag attribute definition a special function in the ADITION system.
See the concrete subclasses for the meaning of each function.
Inheriting types:
- ContentunitGroupBuilderAttributeFunctionLink
- WebsiteReferenceAttributeFunctionLink
LearningTagAttributeFunctionListtop
Definition
- - Array <LearningTagAttributeFunction> $functions
-
optional
LearningTagAttributeListtop
Definition
StringListtop
Definition
- - Array <string> $strings
-
optional
The strings
ValidationErrorMessagetop
Definition
- - string $identifier
-
required
- - Array <string> $messages
-
required
ValidationErrorMessageListtop
Definition
WebsiteReferenceAttributeFunctionLinktop
Definition
The linked attribute references the parent website when building a contentunit from a learning tag candidate.