ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
ilAssQuestionLomLifecycle Class Reference
+ Collaboration diagram for ilAssQuestionLomLifecycle:

Public Member Functions

 __construct ($identifier='')
 ilAssQuestionLomLifecycle constructor. More...
 
 getIdentifier ()
 
 setIdentifier ($identifier)
 
 getValidIdentifiers ()
 
 validateIdentifier ($identifier)
 
 getMappedIliasLifecycleIdentifer ()
 

Data Fields

const DRAFT = 'draft'
 
const FINAL = 'final'
 
const REVISED = 'revised'
 
const UNAVAILABLE = 'unavailable'
 

Protected Attributes

 $identifier
 

Detailed Description

Definition at line 13 of file class.ilAssQuestionLomLifecycle.php.

Constructor & Destructor Documentation

◆ __construct()

ilAssQuestionLomLifecycle::__construct (   $identifier = '')

ilAssQuestionLomLifecycle constructor.

Parameters
string$identifier
Exceptions
ilTestQuestionPoolInvalidArgumentException

Definition at line 30 of file class.ilAssQuestionLomLifecycle.php.

References $identifier, setIdentifier(), and validateIdentifier().

+ Here is the call graph for this function:

Member Function Documentation

◆ getIdentifier()

ilAssQuestionLomLifecycle::getIdentifier ( )
Returns
string

Definition at line 42 of file class.ilAssQuestionLomLifecycle.php.

43 {
44 return $this->identifier;
45 }

References $identifier.

Referenced by getMappedIliasLifecycleIdentifer().

+ Here is the caller graph for this function:

◆ getMappedIliasLifecycleIdentifer()

◆ getValidIdentifiers()

ilAssQuestionLomLifecycle::getValidIdentifiers ( )
Returns
string[]

Definition at line 60 of file class.ilAssQuestionLomLifecycle.php.

References DRAFT, FINAL, REVISED, and UNAVAILABLE.

Referenced by validateIdentifier().

+ Here is the caller graph for this function:

◆ setIdentifier()

ilAssQuestionLomLifecycle::setIdentifier (   $identifier)
Parameters
string$identifier
Exceptions
ilTestQuestionPoolInvalidArgumentException

Definition at line 51 of file class.ilAssQuestionLomLifecycle.php.

52 {
54 $this->identifier = $identifier;
55 }

References $identifier, and validateIdentifier().

Referenced by __construct().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ validateIdentifier()

ilAssQuestionLomLifecycle::validateIdentifier (   $identifier)
Parameters
string$identifier
Exceptions
ilTestQuestionPoolInvalidArgumentException

Definition at line 69 of file class.ilAssQuestionLomLifecycle.php.

References $identifier, and getValidIdentifiers().

Referenced by __construct(), and setIdentifier().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Field Documentation

◆ $identifier

ilAssQuestionLomLifecycle::$identifier
protected

◆ DRAFT

const ilAssQuestionLomLifecycle::DRAFT = 'draft'

◆ FINAL

const ilAssQuestionLomLifecycle::FINAL = 'final'

◆ REVISED

const ilAssQuestionLomLifecycle::REVISED = 'revised'

◆ UNAVAILABLE

const ilAssQuestionLomLifecycle::UNAVAILABLE = 'unavailable'

The documentation for this class was generated from the following file: