ILIAS  trunk Revision v11.0_alpha-2638-g80c1d007f79
class.ilWebLinkDraftItem.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
26 {
27  protected bool $internal;
28 
37  public function __construct(
38  bool $internal,
39  string $title,
40  ?string $description,
41  string $target,
42  bool $active,
43  array $parameters
44  ) {
45  $this->internal = $internal;
46  parent::__construct($title, $description, $target, $active, $parameters);
47  }
48 
49  public function isInternal(): bool
50  {
51  return $this->internal;
52  }
53 
54  public function addParameter(ilWebLinkBaseParameter $parameter): void
55  {
56  $this->parameters[] = $parameter;
57  }
58 }
parameters()
description: > This shows how different states are being used in the same Prompt according to parame...
Definition: parameters.php:39
Base class for parameters attached to Web Link items.
Base class for Web Link items.
__construct(bool $internal, string $title, ?string $description, string $target, bool $active, array $parameters)
addParameter(ilWebLinkBaseParameter $parameter)
__construct(Container $dic, ilPlugin $plugin)
Draft class for creating and updating a Web Link item.