ILIAS  Release_4_0_x_branch Revision 61816
 All Data Structures Namespaces Files Functions Variables Groups Pages
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

Detailed Description

Represents a directive ID in the interchange format.

Definition at line 6 of file Id.php.

Constructor & Destructor Documentation

HTMLPurifier_ConfigSchema_Interchange_Id::__construct (   $key)

Definition at line 11 of file Id.php.

References $key.

{
$this->key = $key;
}

Member Function Documentation

HTMLPurifier_ConfigSchema_Interchange_Id::getDirective ( )

Definition at line 27 of file Id.php.

{
return substr($this->key, strpos($this->key, ".") + 1);
}
HTMLPurifier_ConfigSchema_Interchange_Id::getRootNamespace ( )

Definition at line 23 of file Id.php.

{
return substr($this->key, 0, strpos($this->key, "."));
}
static HTMLPurifier_ConfigSchema_Interchange_Id::make (   $id)
static

Definition at line 31 of file Id.php.

Referenced by HTMLPurifier_ConfigSchema_InterchangeBuilder\id().

+ Here is the caller graph for this function:

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

Definition at line 19 of file Id.php.

References $key.

{
return $this->key;
}

Field Documentation

HTMLPurifier_ConfigSchema_Interchange_Id::$key

Definition at line 9 of file Id.php.

Referenced by __construct(), and toString().


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