Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php /** * Theme Module * * Each Module in the project will extend this base Modu..
Decoded Output download
<?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;
}
} ?>
Did this file decode correctly?
Original Code
<?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;
}
}
Function Calls
None |
Stats
MD5 | cc72b21abd26b0a6a7034c0b627f6be4 |
Eval Count | 0 |
Decode Time | 114 ms |