display_impr_text_header.php
\file \brief Display an improved annotated text (top frame)
Call: display_impr_text_header.php?text=[textid]
PHP version 8.1
Tags
Table of Contents
Functions
- do_diplay_impr_text_header_data() : array{0: string, 1: string, 2: string}
- Return the useful data for the header part of a printed text.
- do_diplay_impr_text_header_js() : void
- Echo JavaScript area containing behaviors to show/hide translations and annotations.
- do_diplay_impr_text_header_content() : void
- Make the header content to display a printed text.
- do_diplay_impr_text_header_main() : void
- Main function to generate a complete header for a specific text.
Functions
do_diplay_impr_text_header_data()
Return the useful data for the header part of a printed text.
do_diplay_impr_text_header_data(int $textid) : array{0: string, 1: string, 2: string}
Parameters
- $textid : int
-
Text ID
Tags
Return values
array{0: string, 1: string, 2: string} —Text title, text audio and source URI
do_diplay_impr_text_header_js()
Echo JavaScript area containing behaviors to show/hide translations and annotations.
do_diplay_impr_text_header_js() : void
do_diplay_impr_text_header_content()
Make the header content to display a printed text.
do_diplay_impr_text_header_content(string $title, int $textid, string $audio, string $sourceURI) : void
Parameters
- $title : string
-
Text title
- $textid : int
-
Text ID
- $audio : string
-
Audio URI
- $sourceURI : string
-
Text source link
do_diplay_impr_text_header_main()
Main function to generate a complete header for a specific text.
do_diplay_impr_text_header_main(int $textid) : void
Parameters
- $textid : int
-
Text ID.