ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
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
Represents a directive ID in the interchange format.
Definition: Id.php:7