@@ -28,10 +28,6 @@ discard block |
||
| 28 | 28 | * |
| 29 | 29 | * @param string $table |
| 30 | 30 | * @param string $salt |
| 31 | - * @param string $range_field |
|
| 32 | - * @param null $key_fields |
|
| 33 | - * @param null $filter_field |
|
| 34 | - * @param array $checksum_fields |
|
| 35 | 31 | */ |
| 36 | 32 | |
| 37 | 33 | public function __construct( $table, $salt = null ) { |
@@ -118,6 +114,9 @@ discard block |
||
| 118 | 114 | $this->additional_filter_sql = ! empty( $table_configuration['filter_sql'] ) ? $table_configuration['filter_sql'] : ''; |
| 119 | 115 | } |
| 120 | 116 | |
| 117 | + /** |
|
| 118 | + * @param string $table |
|
| 119 | + */ |
|
| 121 | 120 | private function validate_table_name( $table ) { |
| 122 | 121 | if ( empty( $table ) ) { |
| 123 | 122 | throw new Exception( 'Invalid table name: empty' ); |
@@ -265,6 +264,9 @@ discard block |
||
| 265 | 264 | |
| 266 | 265 | } |
| 267 | 266 | |
| 267 | + /** |
|
| 268 | + * @param integer $limit |
|
| 269 | + */ |
|
| 268 | 270 | public function get_range_edges( $range_from = null, $range_to = null, $limit = null ) { |
| 269 | 271 | global $wpdb; |
| 270 | 272 | |