ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
HTMLPurifier_ConfigSchema_Interchange_Id Class Reference

Represents a directive ID in the interchange format. More...

+ Collaboration diagram for HTMLPurifier_ConfigSchema_Interchange_Id:

Public Member Functions

 __construct ($key)
 
 toString ()
 
 getRootNamespace ()
 
 getDirective ()
 

Static Public Member Functions

static make ($id)
 

Data Fields

 $key
 string More...
 

Detailed Description

Represents a directive ID in the interchange format.

Definition at line 6 of file Id.php.

Constructor & Destructor Documentation

◆ __construct()

HTMLPurifier_ConfigSchema_Interchange_Id::__construct (   $key)
Parameters
string$key

Definition at line 17 of file Id.php.

References $key.

18  {
19  $this->key = $key;
20  }

Member Function Documentation

◆ getDirective()

HTMLPurifier_ConfigSchema_Interchange_Id::getDirective ( )
Returns
string

Definition at line 43 of file Id.php.

44  {
45  return substr($this->key, strpos($this->key, ".") + 1);
46  }

◆ getRootNamespace()

HTMLPurifier_ConfigSchema_Interchange_Id::getRootNamespace ( )
Returns
string

Definition at line 35 of file Id.php.

36  {
37  return substr($this->key, 0, strpos($this->key, "."));
38  }

◆ make()

static HTMLPurifier_ConfigSchema_Interchange_Id::make (   $id)
static
Parameters
string$id
Returns
HTMLPurifier_ConfigSchema_Interchange_Id

Definition at line 52 of file Id.php.

References $id.

Referenced by HTMLPurifier_ConfigSchema_InterchangeBuilder\id().

53  {
55  }
if(!array_key_exists('StateId', $_REQUEST)) $id
Represents a directive ID in the interchange format.
Definition: Id.php:6
+ Here is the caller graph for this function:

◆ toString()

HTMLPurifier_ConfigSchema_Interchange_Id::toString ( )
Returns
string
Warning
This is NOT magic, to ensure that people don't abuse SPL and cause problems for PHP 5.0 support.

Definition at line 27 of file Id.php.

References $key.

28  {
29  return $this->key;
30  }

Field Documentation

◆ $key

HTMLPurifier_ConfigSchema_Interchange_Id::$key

string

Definition at line 12 of file Id.php.

Referenced by __construct(), and toString().


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