Responsible for drawing the header when reading texts.
More...
Responsible for drawing the header when reading texts.
Call: do_text_header.php?text=[textid]
◆ do_header_row()
| do_header_row |
( |
|
$textid, |
|
|
|
$langid |
|
) |
| |
Print the main title row.
- Parameters
-
| int | $textid | Text ID |
| string | $langid | Language ID to navigate between texts of same language |
- Since
- 2.0.4-fork
◆ do_settings()
Prepare user settings for this text.
- Parameters
-
- Since
- 2.0.4-fork
◆ do_text_header_content()
| do_text_header_content |
( |
|
$textid, |
|
|
|
$only_body = true |
|
) |
| |
Main function for displaying header. It will print HTML content.
- Parameters
-
| string | $textid | ID of the requiered text |
| bool | $only_body | If true, only show the inner body. If false, create a complete HTML document. |
- Since
- 2.0.3-fork
◆ do_title()
| do_title |
( |
|
$title, |
|
|
|
$sourceURI |
|
) |
| |
Print the title of the text.
- Parameters
-
| string | $title | Title of the text |
| string | $sourceURI | URL of the text (if any) |
- Since
- 2.0.4-fork
◆ getData()
Get the text and language data associated with the text.
- Parameters
-
| string | $textid | ID of the text |
@global string $tbpref Table name prefix
- Since
- 2.0.3-fork
- Returns
- null|string[]
@psalm-return array<string, string>|null
◆ save_audio_position()
| save_audio_position |
( |
|
$textid | ) |
|
Save the position of the audio reading for a text.
- Parameters
-
| string | $textid | ID of the text |
- Since
- 2.0.4-fork
Save audio position