ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
Id.php
Go to the documentation of this file.
1 <?php
2 
7 {
8 
12  public $key;
13 
17  public function __construct($key)
18  {
19  $this->key = $key;
20  }
21 
27  public function toString()
28  {
29  return $this->key;
30  }
31 
35  public function getRootNamespace()
36  {
37  return substr($this->key, 0, strpos($this->key, "."));
38  }
39 
43  public function getDirective()
44  {
45  return substr($this->key, strpos($this->key, ".") + 1);
46  }
47 
52  public static function make($id)
53  {
55  }
56 }
57 
58 // vim: et sw=4 sts=4
if(!array_key_exists('StateId', $_REQUEST)) $id
Represents a directive ID in the interchange format.
Definition: Id.php:6