Documentation

do_text.php

\file \brief Start Reading a text (frameset)

Call: do_text.php?text=[textid] Create the main window when reading texts.

PHP version 8.1

Tags
category

User_Interface

author

LWT Project lwt-project@hotmail.com

license

Unlicense http://unlicense.org/

link
https://hugofara.github.io/lwt/docs/php/files/do-text.html
since
1.0.3

Table of Contents

Functions

get_text_id()  : int|null
Get text ID (if possible).
do_text_mobile_content()  : void
Echo the page content for the mobile version of do_text.
do_text_desktop_content()  : void
Echo the page content for the desktop version of do_text.
do_text_page()  : void
Echo the text page.

Functions

get_text_id()

Get text ID (if possible).

get_text_id() : int|null

Text ID if first looked at int the 'text' parameter. If not found, then look at 'start'.

Return values
int|null

Text ID or null

do_text_mobile_content()

Echo the page content for the mobile version of do_text.

do_text_mobile_content(int $textid[, mixed $audio = null ]) : void
Parameters
$textid : int

Text ID

$audio : mixed = null

Audio URI, unnused, null by default

Tags
since
2.2.1

It also calls do_frameset_mobile_css and do_frameset_mobile_js

since
2.6.0-fork

Rewrote to match the desktop version (between 2.2.1 and 2.6.0)

do_text_desktop_content()

Echo the page content for the desktop version of do_text.

do_text_desktop_content(int $textid[, mixed $audio = null ]) : void
Parameters
$textid : int

Text ID

$audio : mixed = null

Audio URI, unnused, null by default

do_text_page()

Echo the text page.

do_text_page(mixed $textid) : void
Parameters
$textid : mixed
Tags
since
2.2.1

The $mobile parameter is no longer required.

since
2.7.0

Adds a CSS rule to auto-enlarge the body.


        
On this page

Search results