| Server IP : 172.67.201.108 / Your IP : 216.73.216.55 Web Server : Apache/2.4.68 (Amazon Linux) OpenSSL/3.5.7 System : Linux ip-172-31-69-123.ec2.internal 6.1.177-224.371.amzn2023.x86_64 #1 SMP PREEMPT_DYNAMIC Mon Jul 27 20:28:29 UTC 2026 x86_64 User : ec2-user ( 1000) PHP Version : 8.4.24 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/lifamfest/wp-content/plugins/wordpress-https/lib/Mvied/Theme/ |
Upload File : |
<?php
/**
* Theme Module
*
* Each Module in the project will extend this base Module class.
* Modules can be treated as independent plugins. Think of them as sub-plugins.
*
* @author Mike Ems
* @package Mvied
*/
class Mvied_Theme_Module implements Mvied_Theme_Module_Interface {
/**
* Theme object that this module extends
*
* @var Mvied_Theme
*/
protected $_theme;
/**
*
* Initializes the module
* @param none
* @return void
*/
public function init() {
throw new Exception('No init method in ' . get_class($this));
}
/**
* Set Theme
*
* @param Mvied_Theme $theme
* @return object $this
* @uses Mvied_Theme
*/
public function setTheme( Mvied_Theme $theme ) {
$this->_theme = $theme;
return $this;
}
/**
* Get Theme
*
* @param none
* @return Mvied_Theme
*/
public function getTheme() {
if ( ! isset($this->_theme) ) {
die('Module ' . __CLASS__ . ' missing Theme dependency.');
}
return $this->_theme;
}
}