PluginProbe
CSS & JavaScript Toolbox / 12.0.4
CSS & JavaScript Toolbox v12.0.4
trunk 0.3 0.8 10 10.1 11 11.2 11.3 11.4 11.5 11.6 11.7 11.8 11.9 11.9.1 12 12.0 12.0.1 12.0.3 12.0.4 12.0.5 12.0.6 12.0.7 6.0 6.0.11 All 60 releases
← All changes | framework/events/hookable.class.php +3 -3 6.012.0.4 View file →
@@ -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!