ILIAS  release_8 Revision v8.19-1-g4e8f2f9140c
All Data Structures Namespaces Files Functions Variables Modules Pages
ilWebLinkDraftItem Class Reference

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. 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

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.

ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.

If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning 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.

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

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