ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
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 ilWebLinkBaseItem\$active, ilWebLinkBaseItem\$description, $internal, ilWebLinkBaseItem\$parameters, ilWebLinkBaseItem\$target, 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.

54 : void
55 {
56 $this->parameters[] = $parameter;
57 }

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

+ Here is the call graph for this function:

◆ isInternal()

ilWebLinkDraftItem::isInternal ( )

Reimplemented from ilWebLinkBaseItem.

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

49 : bool
50 {
51 return $this->internal;
52 }

References $internal.

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

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