@@ -4,11 +4,13 @@ |
||
4 | 4 | |
5 | 5 | class ShortCodeConverter |
6 | 6 | { |
7 | - public static function do($string, $locale = null) |
|
7 | + public static function do { |
|
8 | + ($string, $locale = null) |
|
8 | 9 | { |
9 | 10 | //var_dump($string); exit; |
10 | 11 | if ($locale) { |
11 | 12 | setlocale(LC_TIME, self::convertLocale($locale)); |
13 | + } |
|
12 | 14 | } |
13 | 15 | |
14 | 16 | //$string = preg_replace('/date\([\'"]?([a-z% ]+)[\'"]?\)/i', |