Base.php
39 lines
| 1 | <?php |
| 2 | |
| 3 | namespace Pods\Admin\Config; |
| 4 | |
| 5 | /** |
| 6 | * Base configuration class. |
| 7 | * |
| 8 | * @since 2.8.0 |
| 9 | */ |
| 10 | class Base { |
| 11 | |
| 12 | /** |
| 13 | * Get list of tabs for the pod object. |
| 14 | * |
| 15 | * @since 2.8.0 |
| 16 | * |
| 17 | * @param \Pods\Whatsit\Pod $pod The pod object. |
| 18 | * |
| 19 | * @return array List of tabs for the pod object. |
| 20 | */ |
| 21 | public function get_tabs( \Pods\Whatsit\Pod $pod ) { |
| 22 | return []; |
| 23 | } |
| 24 | |
| 25 | /** |
| 26 | * Get list of fields for the pod object. |
| 27 | * |
| 28 | * @since 2.8.0 |
| 29 | * |
| 30 | * @param \Pods\Whatsit\Pod $pod The pod object. |
| 31 | * @param array $tabs The list of tabs for the pod object. |
| 32 | * |
| 33 | * @return array List of fields for the pod object. |
| 34 | */ |
| 35 | public function get_fields( \Pods\Whatsit\Pod $pod, array $tabs ) { |
| 36 | return []; |
| 37 | } |
| 38 | } |
| 39 |