ajax_show_imported_terms.php
\file \brief Launch an AJAX query to show imported terms
Call: inc/ajax_show_imported_terms?last_update=[last_update]&page=[page number]&count=[count]&rt=[rtl]
Tags
Table of Contents
Functions
- limit_current_page() : mixed
- imported_terms_header() : void
- Prepare the page to display imported terms.
- get_imported_terms() : string
- Prepare the page to display imported terms.
- select_imported_terms() : array<string|int, array<string|int, float|int|null|string>>
- show_imported_terms() : void
- Show the imported terms.
- do_ajax_show_imported_terms() : void
- Show the imported terms.
- imported_terms_list() : array<string|int, array<string|int, int|mixed>|mixed>
- Return the list of imported terms of pages information.
Functions
limit_current_page()
limit_current_page(mixed $currentpage, mixed $recno, mixed $maxperpage) : mixed
Parameters
- $currentpage : mixed
- $recno : mixed
- $maxperpage : mixed
imported_terms_header()
Prepare the page to display imported terms.
imported_terms_header(int $recno, int $currentpage, string $last_update[, int $maxperpage = 100 ]) : void
Parameters
- $recno : int
-
Record number
- $currentpage : int
-
Current page
- $last_update : string
-
Last update
- $maxperpage : int = 100
-
Maximum number of terms per page
get_imported_terms()
Prepare the page to display imported terms.
get_imported_terms(int $recno, int $currentpage, string $last_update) : string
Parameters
- $recno : int
-
Record number
- $currentpage : int
-
Current page
- $last_update : string
-
Last update
Tags
Return values
string —SQL-formatted query to limit the number of results
select_imported_terms()
select_imported_terms(mixed $last_update, mixed $offset, mixed $max_terms) : array<string|int, array<string|int, float|int|null|string>>
Parameters
- $last_update : mixed
- $offset : mixed
- $max_terms : mixed
Tags
Return values
array<string|int, array<string|int, float|int|null|string>>show_imported_terms()
Show the imported terms.
show_imported_terms(string $last_update, string $limit, mixed $rtl) : void
Parameters
- $last_update : string
-
Last update
- $limit : string
-
SQL-formatted query to limit the number of results
- $rtl : mixed
do_ajax_show_imported_terms()
Show the imported terms.
do_ajax_show_imported_terms(string $last_update, int $currentpage, int $recno, bool $rtl) : void
Parameters
- $last_update : string
-
Last update
- $currentpage : int
-
Current number of the page
- $recno : int
-
Number of record
- $rtl : bool
-
True if this language is right-to-left
Tags
imported_terms_list()
Return the list of imported terms of pages information.
imported_terms_list(string $last_update, int $currentpage, int $recno) : array<string|int, array<string|int, int|mixed>|mixed>
Parameters
- $last_update : string
-
Terms import time
- $currentpage : int
-
Current page number
- $recno : int
-
Number of imported terms