Learning with Texts - Fork
2.10.0-fork
Learn foreign languages with texts
|
Save Improved Annotation. More...
Namespaces | |
Lwt | |
Functions | |
save_impr_text_data ($textid, $line, $val) | |
do_ajax_save_impr_text ($textid, $elem, $data) | |
save_impr_text ($textid, $elem, $data) | |
Save Improved Annotation.
do_ajax_save_impr_text | ( | $textid, | |
$elem, | |||
$data | |||
) |
Save a printed text.
int | $textid | Text ID |
string | $elem | Element to edit |
mixed | $data | JSON data |
save_impr_text | ( | $textid, | |
$elem, | |||
$data | |||
) |
Save a text with improved annotations.
int | $textid | Text ID |
string | $elem | Element to select |
mixed | $data | Data element |
@psalm-return array{error?: string, success?: 'OK'}
save_impr_text_data | ( | $textid, | |
$line, | |||
$val | |||
) |
Save data from printed text.
int | $textid | Text ID |
int | $line | Line number to save |
string | $val | Proposed new annotation for the term |
@global string $tbpref Database table prefix.