1 | <?php |
||
22 | class StyleSheet |
||
23 | { |
||
24 | |||
25 | /** |
||
26 | * Loads xml formatted CSL stylesheet of a given stylesheet name, e.g. "american-physiological-society" for |
||
27 | * apa style. |
||
28 | * |
||
29 | * See in styles folder (which is included as git submodule) for all available style sheets |
||
30 | * |
||
31 | * @param string $styleName e.g. "american-physiological-society" for apa |
||
32 | * @return string |
||
33 | */ |
||
34 | public static function loadStyleSheet($styleName) |
||
39 | |||
40 | /** |
||
41 | * Loads xml formatted locales of given language key |
||
42 | * |
||
43 | * @param string $langKey e.g. "en-US", or "de-CH" |
||
44 | * @return string |
||
45 | */ |
||
46 | public static function loadLocales($langKey) |
||
60 | |||
61 | public static function loadLocalesMetadata() |
||
66 | |||
67 | /** |
||
68 | * @return bool|string |
||
69 | * @throws CiteProcException |
||
70 | */ |
||
71 | private static function vendorPath() |
||
81 | } |