|
Learning with Texts - Fork 2.6.0-fork
Learn foreign languages with texts
|
Edit/New Multi-word term (expression) More...
Data Structures | |
| class | Term |
Namespaces | |
| namespace | Lwt |
Functions | |
| 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
| edit_mword_display_change | ( | $term, | |
| $tid, | |||
| $ord | |||
| ) |
Display an updating form for a multi-word.
| Term | $term | Multi-word to being modified. |
| int | $tid | Text ID |
| int | $ord | Text order |
@global string $tbpref Database table prefix.
| edit_mword_display_new | ( | $term, | |
| $tid, | |||
| $ord, | |||
| $len | |||
| ) |
Display a form for the insertion of a new multi-word.
| Term | $term | Multi-word to insert. |
| int | $tid | Text ID |
| int | $ord | Text order |
| int | $len | Number of words in the multi-word. |
@global string $tbpref Database table prefix.
| 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 | |||
| ) |
Make the main display for editing new multi-word.
| string | $text | Original group of words. |
| int | $tid | Text ID |
| int | $ord | Text order |
| int | $len | Number of words in the multi-word. |
@global string $tbpref Database table prefix.
| edit_mword_page | ( | ) |
Create the multi-word frame.
@global string $tbpref Database table prefix.
| edit_mword_prepare_term | ( | ) |
| edit_mword_update | ( | $wid, | |
| $tid, | |||
| $ord | |||
| ) |
Make the main display for editing existing multi-word.
| int | $wid | Term ID |
| int | $tid | Text ID |
| int | $ord | Text order |
@global string $tbpref Database table prefix.