ILIAS  trunk Revision v11.0_alpha-2638-g80c1d007f79
ilWebLinkDraftItem Class Reference

Draft class for creating and updating a Web Link item. More...

+ Inheritance diagram for ilWebLinkDraftItem:
+ Collaboration diagram for ilWebLinkDraftItem:

Public Member Functions

 __construct (bool $internal, string $title, ?string $description, string $target, bool $active, array $parameters)
 
 isInternal ()
 
 addParameter (ilWebLinkBaseParameter $parameter)
 
- Public Member Functions inherited from ilWebLinkBaseItem
 __construct (string $title, ?string $description, string $target, bool $active, array $parameters)
 
 isInternal ()
 
 getTitle ()
 
 getDescription ()
 
 getTarget ()
 
 isActive ()
 
 getParameters ()
 

Protected Attributes

bool $internal
 
- Protected Attributes inherited from ilWebLinkBaseItem
string $title
 
string $target
 
bool $active
 
array $parameters
 
string $description
 

Detailed Description

Draft class for creating and updating a Web Link item.

Author
Tim Schmitz schmi.nosp@m.tz@l.nosp@m.eifos.nosp@m..de

Definition at line 25 of file class.ilWebLinkDraftItem.php.

Constructor & Destructor Documentation

◆ __construct()

ilWebLinkDraftItem::__construct ( bool  $internal,
string  $title,
?string  $description,
string  $target,
bool  $active,
array  $parameters 
)
Parameters
bool$internal
string$title
string | null$description
string$target
bool$active
ilWebLinkBaseParameter[]$parameters

Definition at line 37 of file class.ilWebLinkDraftItem.php.

References $internal, and ILIAS\GlobalScreen\Provider\__construct().

+ Here is the call graph for this function:

Member Function Documentation

◆ addParameter()

ilWebLinkDraftItem::addParameter ( ilWebLinkBaseParameter  $parameter)

Definition at line 54 of file class.ilWebLinkDraftItem.php.

References ILIAS\UI\examples\Prompt\Standard\parameters().

54  : void
55  {
56  $this->parameters[] = $parameter;
57  }
parameters()
description: > This shows how different states are being used in the same Prompt according to parame...
Definition: parameters.php:39
+ Here is the call graph for this function:

◆ isInternal()

ilWebLinkDraftItem::isInternal ( )

Definition at line 49 of file class.ilWebLinkDraftItem.php.

References $internal.

Referenced by ilWebLinkDatabaseRepository\createItem(), ilWebLinkDatabaseRepository\updateItem(), and ilWebLinkDatabaseRepository\validateInternalItemTarget().

49  : bool
50  {
51  return $this->internal;
52  }
+ Here is the caller graph for this function:

Field Documentation

◆ $internal

bool ilWebLinkDraftItem::$internal
protected

Definition at line 27 of file class.ilWebLinkDraftItem.php.

Referenced by __construct(), and isInternal().


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