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