_is_twoclick_settings_page()) { $this->_get_debug_output(); } // END if($this->_is_twoclick_settings_page()) } // END function __construct() /** * Alle Debuginformationen ausgeben * * @since 1.1 * @author ppfeufer * * @uses _get_installed_themes * @uses _get_installed_plugins * @uses _get_userdata * @uses _get_serverdata */ private function _get_debug_output() { if($this->_is_twoclick_settings_page()) { echo $this->_get_description(); echo $this->_get_wordpress_data(); echo $this->_get_active_theme(); echo $this->_get_plugin_options(); echo $this->_get_installed_plugins(); // echo $this->_get_userdata(); // echo $this->_get_serverdata(); } // END if($this->_is_twoclick_settings_page()) } // END private function _get_debug_output() /** * Informationen zum Debug. * * @since 1.1 * @author ppfeufer * * @return string */ private function _get_description() { ob_start(); ?>

:
:

'; print_r($this->array_htmlspecialchars($this->_get_option())); echo ''; ?>

'; print_r($obj_ThemeData); echo ''; ?>

$array_Data) { ?>
: ()
: _is_active_plugin($var_sPLuginPath)) {_e('activated', TWOCLICK_TEXTDOMAIN);} else {_e('deactivated', TWOCLICK_TEXTDOMAIN);}?>
:
:
:

Serverdaten

* Prüfe ob ein Plugin aktiv ist oder nicht. * * @since 1.1 * @author ppfeufer * * @param string $var_sPlugin * @return boolean */ private function _is_active_plugin($var_sPlugin) { $var_bReturn = in_array($var_sPlugin, apply_filters('active_plugins', get_option('active_plugins'))); return $var_bReturn; } // END private function _is_active_plugin($var_sPlugin) /** * <[ Helper ]> * htmlspecialchars() auch für Arrays * * @since 1.4 * @author ppfeufer * * @param array $array_Input * @param string $var_sQuoteStyle * @param string $var_sCharset * @return array */ private function array_htmlspecialchars($array_Input, $var_sQuoteStyle = ENT_QUOTES, $var_sCharset = 'UTF-8') { if(is_array($array_Input)) { foreach ($array_Input as $key => $value) { if(is_array($value)) { $this->array_htmlspecialchars($array_Input[$key]); } else { $array_Output[$key] = htmlspecialchars($value, $var_sQuoteStyle, $var_sCharset); } // END if(is_array($value)) } // END foreach ($array_Input as $key => $value) return $array_Output; } // END if(is_array($array_Input)) return false; } // END private function array_htmlspecialchars($array_Input, $var_sQuoteStyle = ENT_QUOTES, $var_sCharset = 'UTF-8') } // END class Twoclick_Social_Media_Buttons_Backend_Debug extends Twoclick_Social_Media_Buttons_Backend // Debugklasse starten new Twoclick_Social_Media_Buttons_Backend_Debug(); } // END if(!class_exists('Twoclick_Social_Media_Buttons_Backend_Debug'))