ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
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

string $identifier
 

Detailed Description

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

Constructor & Destructor Documentation

◆ __construct()

ilAssQuestionLomLifecycle::__construct (   $identifier = '')

ilAssQuestionLomLifecycle constructor.

Parameters
mixed$identifier
Exceptions
ilTestQuestionPoolInvalidArgumentException

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

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

+ Here is the call graph for this function:

Member Function Documentation

◆ getIdentifier()

ilAssQuestionLomLifecycle::getIdentifier ( )

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

50 : string
51 {
52 return $this->identifier;
53 }

References $identifier.

Referenced by getMappedIliasLifecycleIdentifer().

+ Here is the caller graph for this function:

◆ getMappedIliasLifecycleIdentifer()

◆ getValidIdentifiers()

ilAssQuestionLomLifecycle::getValidIdentifiers ( )
Returns
string[]

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

68 : array
69 {
71 }

References DRAFT, FINAL, REVISED, and UNAVAILABLE.

Referenced by validateIdentifier().

+ Here is the caller graph for this function:

◆ setIdentifier()

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

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

59 : void
60 {
62 $this->identifier = $identifier;
63 }

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
mixed$identifier
Exceptions
ilTestQuestionPoolInvalidArgumentException

Definition at line 77 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

string ilAssQuestionLomLifecycle::$identifier
protected

◆ 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: