Documentation

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
author

andreask7 andreask7@users.noreply.github.com

license

Unlicense http://unlicense.org/

link
https://hugofara.github.io/lwt/docs/php/files/inc-ajax-show-imported-terms.html
since
1.6.0-fork

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
deprecated
2.9.0

Use imported_terms_header instead

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
psalm-return

list<list<float|int|null|string>>

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
deprecated
2.9.0

Use the AJAX API instead.

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

Tags
psalm-return

array{navigation: array{current_page: mixed, total_pages: int}, terms: mixed}

Return values
array<string|int, array<string|int, int|mixed>|mixed>

        
On this page

Search results