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

Handle interactions with mobile platforms. More...

Namespaces

namespace  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.

Function Documentation

◆ do_frameset_mobile_css()

do_frameset_mobile_css ( )

Echo the CSS content for mobile frameset page.

Returns
void

◆ 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

◆ 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

◆ 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
Deprecated:
Will always return false
Since
2.2.1 You should not use this function since mobiledetect is no longer used.