ILIAS  release_8 Revision v8.22
All Data Structures Namespaces Files Functions Variables Modules Pages
ilWebLinkBaseItem 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 ilWebLinkBaseItem:
+ Collaboration diagram for ilWebLinkBaseItem:

Public Member Functions

 __construct (string $title, ?string $description, string $target, bool $active, array $parameters)
 
 isInternal ()
 
 getTitle ()
 
 getDescription ()
 
 getTarget ()
 
 isActive ()
 
 getParameters ()
 

Protected Attributes

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 Base class for Web Link items

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

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

Constructor & Destructor Documentation

◆ __construct()

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

Definition at line 44 of file class.ilWebLinkBaseItem.php.

References $active, $description, $parameters, $target, $title, and isInternal().

50  {
51  $this->title = $title;
52  $this->target = $target;
53  $this->active = $active;
54  $this->description = $description;
55  $this->parameters = $parameters;
56  }
+ Here is the call graph for this function:

Member Function Documentation

◆ getDescription()

ilWebLinkBaseItem::getDescription ( )

Definition at line 65 of file class.ilWebLinkBaseItem.php.

References $description.

Referenced by ilWebLinkDatabaseRepository\createItem(), ilWebLinkItem\toXML(), and ilWebLinkDatabaseRepository\updateItem().

65  : ?string
66  {
67  return $this->description;
68  }
+ Here is the caller graph for this function:

◆ getParameters()

ilWebLinkBaseItem::getParameters ( )
Returns
ilWebLinkBaseParameter[]

Definition at line 83 of file class.ilWebLinkBaseItem.php.

References $parameters.

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

83  : array
84  {
85  return $this->parameters;
86  }
+ Here is the caller graph for this function:

◆ getTarget()

◆ getTitle()

ilWebLinkBaseItem::getTitle ( )

Definition at line 60 of file class.ilWebLinkBaseItem.php.

References $title.

Referenced by ilWebLinkDatabaseRepository\createItem(), ilWebLinkItem\toXML(), and ilWebLinkDatabaseRepository\updateItem().

60  : string
61  {
62  return $this->title;
63  }
+ Here is the caller graph for this function:

◆ isActive()

ilWebLinkBaseItem::isActive ( )

Definition at line 75 of file class.ilWebLinkBaseItem.php.

References $active.

Referenced by ilWebLinkDatabaseRepository\createItem(), ilWebLinkItem\toXML(), and ilWebLinkDatabaseRepository\updateItem().

75  : bool
76  {
77  return $this->active;
78  }
+ Here is the caller graph for this function:

◆ isInternal()

ilWebLinkBaseItem::isInternal ( )
abstract

Referenced by __construct().

+ Here is the caller graph for this function:

Field Documentation

◆ $active

bool ilWebLinkBaseItem::$active
protected

Definition at line 29 of file class.ilWebLinkBaseItem.php.

Referenced by __construct(), and isActive().

◆ $description

string ilWebLinkBaseItem::$description
protected

Definition at line 35 of file class.ilWebLinkBaseItem.php.

Referenced by __construct(), and getDescription().

◆ $parameters

array ilWebLinkBaseItem::$parameters
protected

Definition at line 34 of file class.ilWebLinkBaseItem.php.

Referenced by __construct(), and getParameters().

◆ $target

string ilWebLinkBaseItem::$target
protected

Definition at line 28 of file class.ilWebLinkBaseItem.php.

Referenced by __construct(), and getTarget().

◆ $title

string ilWebLinkBaseItem::$title
protected

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

Referenced by __construct(), and getTitle().


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