PK œqhYî¶J‚ßFßF)nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/ $#$#$#

Dir : /home/trave494/mytube.pm/wp-content/plugins/wp-hide-security-enhancer/include/
Server: Linux ngx353.inmotionhosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64
IP: 209.182.202.254
Choose File :

Url:
Dir : /home/trave494/mytube.pm/wp-content/plugins/wp-hide-security-enhancer/include/module.class.php

<?php

    if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
    
    class WPH_module
        {
            var $components =   array();
            
            var $functions;
            var $wph;
            
            var $use_tabs;
                     
            function __construct()
                {
                    $this->use_tabs     =   $this->use_tabs();
                    
                    $this->functions    =   new WPH_functions();
                    
                    global $wph;
                    $this->wph          =   &$wph;
                    
                    $this->load_components();
                }
           
            function load_components()
                {
                
                }
            
            /**
            * Indicate if this module use a tabs to output included components
            * 
            */
            function use_tabs()
                {
                    
                    return FALSE;   
                }
            
            /**
            * Return module components settings
            *     
            */
            function get_module_settings($module_id =   FALSE)
                {
                    
                    $module_settings                    =   array();

                    foreach($this->components   as  $module_component)
                        {
                            if(!empty($module_id)   &&  $module_component->id   !== FALSE   &&  $module_component->id   !=  $module_id)
                                continue;
                            
                            if(count($module_settings)  >   0)
                                {
                                    //add a split for interface
                                    $module_settings[]                  =   array(
                                                                                    'type'          =>  'split',
                                                                                    );   
                                }
                            
                            if(is_array($module_component->module_settings) &&  count($module_component->module_settings) > 0)
                                {
                                    foreach($module_component->module_settings  as  $module_setting)
                                        {
                                            $module_setting['class_instance'] =   $module_component;   
                                            $module_settings[]  =   $module_setting;
                                        }   
                                    
                                }
                                
                            
                        }
                                  
                    $module_settings    =   apply_filters('wp-hide/module_settings',    $module_settings,   $this);
                    
                    
                    return $module_settings;
                    
                }
                
        }
    
 
?>