| @@ -100,9 +100,9 @@ | ||
| 100 | 100 | * |
| 101 | 101 | * @param mixed $typeName |
| 102 | 102 | * @param mixed $observer |
| 103 | 103 | */ |
| 104 | - public function off($typeName, $observer) { | |
| 104 | + public static function off($typeName, $observer) { | |
| 105 | 105 | return CJTWordpressEvents::off($typeName, $observer); |
| 106 | 106 | } |
| 107 | 107 | |
| 108 | 108 | /** |
| @@ -110,9 +110,9 @@ | ||
| 110 | 110 | * |
| 111 | 111 | * @param mixed $typeName |
| 112 | 112 | * @param mixed $observer |
| 113 | 113 | */ |
| 114 | - public function on($typeName, $observer) { | |
| 114 | + public static function on($typeName, $observer) { | |
| 115 | 115 | return CJTWordpressEvents::on($typeName, $observer); |
| 116 | 116 | } |
| 117 | 117 | |
| 118 | 118 | /** |
| @@ -119,9 +119,9 @@ | ||
| 119 | 119 | * put your comment there... |
| 120 | 120 | * |
| 121 | 121 | * @param mixed $type |
| 122 | 122 | */ |
| 123 | - public function trigger($typeName) { | |
| 123 | + public static function trigger($typeName) { | |
| 124 | 124 | $events = (isset($this) && isset($this->events)) ? |
| 125 | 125 | $this->events : |
| 126 | 126 | CJTWordpressEvents::getTypeEvents($typeName, false); |
| 127 | 127 | // Get passed parameters! |