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

Handle interactions with mobile platforms. More...

Namespaces

 Lwt
 

Functions

 is_mobile ()
 
 do_frameset_mobile_page_content ($frame_h_uri, $frame_l_uri, $right_frames)
 
 do_frameset_mobile_css ()
 
</style > do_frameset_mobile_js ($audio=null)
 

Variables

display __pad0__
 

Detailed Description

Handle interactions with mobile platforms.

PHP version 8.1

Function Documentation

◆ do_frameset_mobile_css()

do_frameset_mobile_css ( )

Echo the CSS content for mobile frameset page.

Returns
void
Deprecated:
Since 2.6.0-fork, the display for mobile changed, making this code useless

◆ do_frameset_mobile_js()

</style> do_frameset_mobile_js (   $audio = null)

Echo the JS code for the mobile version of a frameset page.

Parameters
string | null$audioAudio URI
Returns
void
Deprecated:
Since 2.2.1-fork, we do no longer use frameset

◆ do_frameset_mobile_page_content()

do_frameset_mobile_page_content (   $frame_h_uri,
  $frame_l_uri,
  $right_frames 
)

Echo frameset content for a mobile page.

Parameters
string$frame_h_uriURI for the frame-h-2 iframe.
string$frame_l_uriURI for the frame-l-2 iframe.
bool$right_framesCreate or not a space for right frames.
Returns
void
Deprecated:
Since 2.2.1-fork, Do not use frames

◆ is_mobile()

is_mobile ( )

Return false. Before 2.2.1, return true if we should use mobile mode.

Returns
bool Mobile mode shoud be activated or not
Since
2.2.1 You should not use this function since mobiledetect is no longer used.
2.6.0-fork No longer deprecated and use no external library.