1 | <?php |
||
24 | class ShortcodeTemplateLoader extends Gamajo_Template_Loader { |
||
25 | |||
26 | /** |
||
27 | * Directory name of the shortcode views. |
||
28 | * |
||
29 | * @var string |
||
30 | * |
||
31 | * @since 0.2.6 |
||
32 | */ |
||
33 | protected $view_directory; |
||
34 | |||
35 | /** |
||
36 | * Instantiate a ShortcodeTemplateLoader object. |
||
37 | * |
||
38 | * @since 0.2.6 |
||
39 | * |
||
40 | * @param string $filter_prefix Prefix for filter names. |
||
41 | * @param string $template_dir Directory name for custom templates. |
||
42 | * @param string $view_dir Directory name for the shortcode views. |
||
43 | */ |
||
44 | public function __construct( $filter_prefix, $template_dir, $view_dir ) { |
||
49 | |||
50 | /** |
||
51 | * Return the path to the templates directory in this plugin. |
||
52 | * |
||
53 | * @since 0.2.6 |
||
54 | * |
||
55 | * @return string |
||
56 | */ |
||
57 | protected function get_templates_dir() { |
||
60 | } |
||
61 |