ILIAS  trunk Revision v11.0_alpha-2638-g80c1d007f79
ILIAS\Export\ImportStatus\ilHandler Class Reference
+ Inheritance diagram for ILIAS\Export\ImportStatus\ilHandler:
+ Collaboration diagram for ILIAS\Export\ImportStatus\ilHandler:

Public Member Functions

 __construct ()
 
 getType ()
 
 withType (StatusType $type)
 
 getContent ()
 
 withContent (ilImportStatusContentInterface $content)
 
- Public Member Functions inherited from ILIAS\Export\ImportStatus\I\ilHandlerInterface
 withType (StatusType $type)
 

Private Attributes

StatusType $type
 
ilImportStatusContentInterface $content
 

Detailed Description

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

Constructor & Destructor Documentation

◆ __construct()

ILIAS\Export\ImportStatus\ilHandler::__construct ( )

Definition at line 31 of file class.ilHandler.php.

32  {
33  $this->type = StatusType::NONE;
34  }

Member Function Documentation

◆ getContent()

ILIAS\Export\ImportStatus\ilHandler::getContent ( )

◆ getType()

ILIAS\Export\ImportStatus\ilHandler::getType ( )

Implements ILIAS\Export\ImportStatus\I\ilHandlerInterface.

Definition at line 36 of file class.ilHandler.php.

References ILIAS\Export\ImportStatus\ilHandler\$type.

Referenced by ILIAS\Export\ImportStatus\ilCollection\getArrayOfElementsWithType().

36  : StatusType
37  {
38  return $this->type;
39  }
+ Here is the caller graph for this function:

◆ withContent()

ILIAS\Export\ImportStatus\ilHandler::withContent ( ilImportStatusContentInterface  $content)

Implements ILIAS\Export\ImportStatus\I\ilHandlerInterface.

Definition at line 53 of file class.ilHandler.php.

References ILIAS\Export\ImportStatus\ilHandler\$content.

54  {
55  $clone = clone $this;
56  $clone->content = $content;
57  return $clone;
58  }
ilImportStatusContentInterface $content

◆ withType()

ILIAS\Export\ImportStatus\ilHandler::withType ( StatusType  $type)

Definition at line 41 of file class.ilHandler.php.

References ILIAS\Export\ImportStatus\ilHandler\$type.

42  {
43  $clone = clone $this;
44  $clone->type = $type;
45  return $clone;
46  }

Field Documentation

◆ $content

ilImportStatusContentInterface ILIAS\Export\ImportStatus\ilHandler::$content
private

◆ $type

StatusType ILIAS\Export\ImportStatus\ilHandler::$type
private

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