ILIAS  trunk Revision v11.0_alpha-2662-g519ff7d528f
ILIAS\Data\Meta\Html\UserDefined Class Reference
+ Inheritance diagram for ILIAS\Data\Meta\Html\UserDefined:
+ Collaboration diagram for ILIAS\Data\Meta\Html\UserDefined:

Public Member Functions

 __construct (protected string $key, protected string $value)
 
 toHtml ()
 
 getKey ()
 
 getValue ()
 
- Public Member Functions inherited from ILIAS\Data\Meta\Html\Tag
 toHtml ()
 This method MUST return the valid HTML markup for this tag. More...
 
 getTags ()
 Create a list of basic tags. More...
 

Detailed Description

Author
Thibeau Fuhrer thibe.nosp@m.au@s.nosp@m.r.sol.nosp@m.utio.nosp@m.ns

Definition at line 28 of file UserDefined.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\Data\Meta\Html\UserDefined::__construct ( protected string  $key,
protected string  $value 
)

Definition at line 30 of file UserDefined.php.

33  {
34  }

Member Function Documentation

◆ getKey()

ILIAS\Data\Meta\Html\UserDefined::getKey ( )

Definition at line 44 of file UserDefined.php.

44  : string
45  {
46  return $this->key;
47  }

◆ getValue()

ILIAS\Data\Meta\Html\UserDefined::getValue ( )

Definition at line 49 of file UserDefined.php.

49  : string
50  {
51  return $this->value;
52  }

◆ toHtml()

ILIAS\Data\Meta\Html\UserDefined::toHtml ( )

Definition at line 39 of file UserDefined.php.

39  : string
40  {
41  return "<meta name=\"" . htmlspecialchars($this->key) . "\" content=\"" . htmlspecialchars($this->value) . "\" />";
42  }

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