1 | <?php |
||
10 | class Post_Meta_Datastore extends Meta_Datastore { |
||
11 | /** |
||
12 | * ID of the post. |
||
13 | * |
||
14 | * @var int |
||
15 | */ |
||
16 | protected $post_id; |
||
17 | |||
18 | /** |
||
19 | * Retrieve the type of meta data. |
||
20 | * |
||
21 | * @return string |
||
22 | */ |
||
23 | public function get_meta_type() { |
||
26 | |||
27 | /** |
||
28 | * Retrieve the meta table name to query. |
||
29 | * |
||
30 | * @return string |
||
31 | */ |
||
32 | public function get_table_name() { |
||
36 | |||
37 | /** |
||
38 | * Retrieve the meta table field name to query by. |
||
39 | * |
||
40 | * @return string |
||
41 | */ |
||
42 | public function get_table_field_name() { |
||
45 | |||
46 | /** |
||
47 | * Set the post ID of the datastore. |
||
48 | * |
||
49 | * @param int $id ID of the post. |
||
50 | */ |
||
51 | public function set_id( $id ) { |
||
54 | |||
55 | /** |
||
56 | * Retrieve the post ID of the datastore. |
||
57 | * |
||
58 | * @return int ID of the post. |
||
59 | */ |
||
60 | public function get_id() { |
||
63 | } |
||
64 |