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

Save text or audio position (Read Text Screen) More...

Namespaces

 Lwt
 

Functions

 save_text_position ($textid, $position)
 
 save_audio_position ($textid, $audioposition)
 

Detailed Description

Save text or audio position (Read Text Screen)

Call: inc/ajax_save_text_position.php?... ...textid=[textid]&position=[text position] ...textid=[textid]&audioposition=[audio position]

Function Documentation

◆ save_audio_position()

save_audio_position (   $textid,
  $audioposition 
)

Save the audio position in the text.

Parameters
int$textidText ID
int$audiopositionAudio position
Returns
void

@global string $tbpref Database table prefix

◆ save_text_position()

save_text_position (   $textid,
  $position 
)

Save the reading position of the text.

Parameters
int$textidText ID
int$positionPosition in text to save
Returns
void

@global string $tbpref Database table prefix