total_available; } /** * * @return float */ public function get_time() { return $this->total_time; } /** * * @return string */ public function get_error() { return $this->error; } /** * * @return string */ public function get_warning() { return $this->warning; } /** * * @return string */ public function get_propositions() { return null; } /** * * @return searchEngine_adapter_abstract */ public function reset_cache() { return $this; } /** * * @return int */ public function get_per_page() { return (int) $this->perPage; } /** * * @return int */ public function get_total_results() { return (int) $this->total_results; } /** * * @return int */ public function get_total_pages() { return (int) ceil($this->get_available_results() / $this->get_per_page()); } /** * * @return int */ public function get_current_page() { return (int) $this->current_page; } /** * * @return int */ public function get_offset_start() { return (int) $this->offset_start; } /** * * @return string */ public function get_current_indexes() { return $this->current_index; } }