| 1 | <?php |
||
| 10 | class Comment_Meta_Datastore extends Meta_Datastore { |
||
| 11 | /** |
||
| 12 | * ID of the comment. |
||
| 13 | * |
||
| 14 | * @var int |
||
| 15 | */ |
||
| 16 | protected $comment_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 comment ID of the datastore. |
||
| 48 | * |
||
| 49 | * @param int $id ID of the comment. |
||
| 50 | */ |
||
| 51 | public function set_id( $id ) { |
||
| 54 | |||
| 55 | /** |
||
| 56 | * Retrieve the comment ID of the datastore. |
||
| 57 | * |
||
| 58 | * @return int ID of the comment. |
||
| 59 | */ |
||
| 60 | public function get_id() { |
||
| 63 | } |
||
| 64 |