| @@ -136,9 +136,9 @@ | ||
| 136 | 136 | /** |
| 137 | 137 | * put your comment there... |
| 138 | 138 | * |
| 139 | 139 | */ |
| 140 | - public function getCJTWebSiteURL($path = null) { | |
| 140 | + public static function getCJTWebSiteURL($path = null) { | |
| 141 | 141 | $domain = self::CJT_WEB_SITE_DOMAIN; |
| 142 | 142 | return "http://{$domain}/{$path}"; |
| 143 | 143 | } |
| 144 | 144 | |
| @@ -165,9 +165,9 @@ | ||
| 165 | 165 | /** |
| 166 | 166 | * put your comment there... |
| 167 | 167 | * |
| 168 | 168 | */ |
| 169 | - public function getSecurityToken() { | |
| 169 | + public static function getSecurityToken() { | |
| 170 | 170 | return wp_create_nonce(CJTController::NONCE_ACTION); |
| 171 | 171 | } |
| 172 | 172 | |
| 173 | 173 | /** |
| @@ -174,9 +174,9 @@ | ||
| 174 | 174 | * put your comment there... |
| 175 | 175 | * |
| 176 | 176 | * @param mixed $text |
| 177 | 177 | */ |
| 178 | - public function getText($text) { | |
| 178 | + public static function getText($text) { | |
| 179 | 179 | // Make sure to don't use $this while calling! |
| 180 | 180 | // $this might be an object other than CssJSToolbox! |
| 181 | 181 | return self::__callStatic('cssJSToolbox.ongettext', array(__($text, CJTOOLBOX_TEXT_DOMAIN))); |
| 182 | 182 | } |