1 | <?php |
||
14 | final class Layout { |
||
15 | |||
16 | use Singleton; |
||
17 | |||
18 | /** |
||
19 | * @traitDoc |
||
20 | */ |
||
21 | public function initializes() |
||
25 | |||
26 | /** |
||
27 | * Get admin layout |
||
28 | * |
||
29 | * @param array $tabs |
||
30 | * @param string $current_tab |
||
31 | * @param mixed $options |
||
32 | * @param string $layout_name |
||
33 | * @since 1.0.0 |
||
34 | * @return \VA\Templater |
||
35 | */ |
||
36 | public function get_admin_layout($tabs, $current_tab, $options, $layout_name) { |
||
42 | |||
43 | /** |
||
44 | * Get taxonomies layout |
||
45 | * |
||
46 | * @param array $taxonomies |
||
47 | * @since 1.0.0 |
||
48 | * @return \VA\Templater |
||
49 | */ |
||
50 | public function get_taxonomies_layout($taxonomies) { |
||
53 | |||
54 | /** |
||
55 | * Get default layout of single dfi in admin |
||
56 | * |
||
57 | * @param integer $dfi_index |
||
58 | * @param boolean $include_delete |
||
59 | * @since 1.0.0 |
||
60 | * @return VA\Templater |
||
61 | */ |
||
62 | public function get_default_layout($dfi_index, $include_delete) { |
||
67 | |||
68 | /** |
||
69 | * Get related layout with post type value, related layout include taxonomies, image upload and image size |
||
70 | * |
||
71 | * @param string $post_type |
||
72 | * @param integer $dfi_index |
||
73 | * @since 1.0.0 |
||
74 | * @return string $layout |
||
75 | */ |
||
76 | public function get_related_layout($dfi_index, $post_type) { |
||
91 | } |