mobile_interactions.php
\file \brief Handle interactions with mobile platforms
PHP version 8.1
Tags
Table of Contents
Functions
- is_mobile() : bool
 - Return false. Before 2.2.1, return true if we should use mobile mode.
 - do_frameset_mobile_page_content() : void
 - Echo frameset content for a mobile page.
 - do_frameset_mobile_css() : void
 - Echo the CSS content for mobile frameset page.
 - do_frameset_mobile_js() : void
 - Echo the JS code for the mobile version of a frameset page.
 
Functions
is_mobile()
Return false. Before 2.2.1, return true if we should use mobile mode.
    
                    is_mobile() : bool
    
    
    
    Tags
Return values
bool —Mobile mode shoud be activated or not
do_frameset_mobile_page_content()
Echo frameset content for a mobile page.
    
                    do_frameset_mobile_page_content(string $frame_h_uri, string $frame_l_uri, bool $right_frames) : void
    
        Parameters
- $frame_h_uri : string
 - 
                    
URI for the frame-h-2 iframe.
 - $frame_l_uri : string
 - 
                    
URI for the frame-l-2 iframe.
 - $right_frames : bool
 - 
                    
Create or not a space for right frames.
 
Tags
do_frameset_mobile_css()
Echo the CSS content for mobile frameset page.
    
                    do_frameset_mobile_css() : void
    
    
    
    Tags
do_frameset_mobile_js()
Echo the JS code for the mobile version of a frameset page.
    
                    do_frameset_mobile_js([string|null $audio = null ]) : void
    
        Parameters
- $audio : string|null = null
 - 
                    
Audio URI