Learning with Texts - Fork
2.10.0-fork
Learn foreign languages with texts
|
Edit/New Multi-word term (expression) More...
Namespaces | |
Lwt | |
Functions | |
export_term_js_dict ($term) | |
edit_mword_prepare_term () | |
edit_mword_do_operation ($term) | |
edit_mword_do_insert ($term) | |
edit_mword_do_update ($term, $newstatus) | |
edit_mword_new ($text, $tid, $ord, $len) | |
edit_mword_update ($wid, $tid, $ord) | |
edit_mword_display_new ($term, $tid, $ord, $len) | |
edit_mword_display_change ($term, $tid, $ord) | |
edit_mword_page () | |
Edit/New Multi-word term (expression)
Call: edit_mword.php?.... ... op=Save ... do insert new ... op=Change ... do update ... tid=[textid]&ord=[textpos]&wid=[wordid] ... edit
... tid=[textid]&ord=[textpos]&txt=[word] ... new or edit
PHP version 8.1
edit_mword_display_change | ( | $term, | |
$tid, | |||
$ord | |||
) |
edit_mword_display_new | ( | $term, | |
$tid, | |||
$ord, | |||
$len | |||
) |
edit_mword_do_insert | ( | $term | ) |
Insert a multi-word to the database.
Term | $term | Multi-word to be inserted. |
@global string $tbpref Database table prefix.
edit_mword_do_operation | ( | $term | ) |
Do a server operation for multiwords.
edit_mword_do_update | ( | $term, | |
$newstatus | |||
) |
Update a multi-word.
Term | $term | Multi-word to be inserted. |
int | $newstatus | New multi-word status |
@global string $tbpref Database table prefix.
edit_mword_new | ( | $text, | |
$tid, | |||
$ord, | |||
$len | |||
) |
edit_mword_page | ( | ) |
Create the multi-word frame.
@global string $tbpref Database table prefix.
edit_mword_prepare_term | ( | ) |
edit_mword_update | ( | $wid, | |
$tid, | |||
$ord | |||
) |
export_term_js_dict | ( | $term | ) |
Export term data as a JSON dictionnary.