Learning with Texts - Fork 2.4.0-fork
Learn foreign languages with texts
Namespaces | Functions
ajax_show_imported_terms.php File Reference

Launch an AJAX query to show imported terms. More...

Namespaces

namespace  Lwt
 

Functions

 get_imported_terms ($recno, $currentpage, $last_update)
 
 show_imported_terms ($last_update, $limit, $rtl)
 
 do_ajax_show_imported_terms ($last_update, $currentpage, $recno, $rtl)
 

Detailed Description

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]

Function Documentation

◆ do_ajax_show_imported_terms()

do_ajax_show_imported_terms (   $last_update,
  $currentpage,
  $recno,
  $rtl 
)

Show the imported terms.

Parameters
string$last_updateLast update
int$currentpageCurrent number of the page
int$recnoNumber of record
bool$rtlTrue if this language is right-to-left
Returns
void

◆ get_imported_terms()

get_imported_terms (   $recno,
  $currentpage,
  $last_update 
)

Get the list of imported terms and start the display.

Parameters
int$recnoRecord number
int$currentpageCurrent page
string$last_updateLast update
Returns
string SQL-formatted query to limit the number of results

◆ show_imported_terms()

show_imported_terms (   $last_update,
  $limit,
  $rtl 
)

Show the imported terms.

Parameters
string$last_updateLast update
string$limitSQL-formatted query to limit the number of results