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 class ITS4YouOutgoingProducts_Module_Model extends Vtiger_Module_Model {public funct..

Decoded Output download

<?php class ITS4YouOutgoingProducts_Module_Model extends Vtiger_Module_Model {public function __construct() { parent::__construct();$WHOPmx0b["productname"] = new ITS4YouOutgoingProducts_Field_Model("productname", "productname", "HEAD_PRODUCT", 2);$WHOPmx0b["quantity"] = new ITS4YouOutgoingProducts_Field_Model("quantity", "quantity", "HEAD_QTY", 7);$WHOPmx0b["deliverynotes_no"] = new ITS4YouOutgoingProducts_Field_Model("deliverynotes_no", "deliverynotes_no", "HEAD_DELNOTENO", 4);$WHOPmx0b["issue_date"] = new ITS4YouOutgoingProducts_Field_Model("issue_date", "issue_date", "HEAD_DELDATE", 5);$WHOPmx0b["parent_id"] = new ITS4YouOutgoingProducts_Field_Model("parent_id", "parent_id", "HEAD_ORGANIZATION", 10);$this->fields = $WHOPmx0b;}public function getField($WHOPmx0c) { return $this->fields[$WHOPmx0c];}public function getFields($WHOPmx0d = false) { if ($WHOPmx0d !== false)return $this->fields;else return array();}public function getDefaultUrl() { return 'index.php?module=' . $this->get('name') . '&view=' . $this->getListViewName();}public function getListViewLinks() { return array();}public function getSideBarLinks($WHOPmx0e) { $WHOPmx0f = array('SIDEBARLINK', 'SIDEBARWIDGET');$WHOPmx10 = Vtiger_Link_Model::getAllByType($this->getId(), $WHOPmx0f, $WHOPmx0e);$WHOPmx11 = array(array('linktype' => 'SIDEBARLINK','linklabel' => 'LBL_RECORDS_LIST','linkurl' => $this->getDefaultUrl(),'linkicon' => '',),);foreach ($WHOPmx11 as $WHOPmx12) {$WHOPmx10['SIDEBARLINK'][] = Vtiger_Link_Model::getInstanceFromValues($WHOPmx12);}return $WHOPmx10;}public function getListViewMassActions() { return array();}} ?>

Did this file decode correctly?

Original Code

<?php class ITS4YouOutgoingProducts_Module_Model extends Vtiger_Module_Model {public function __construct() { parent::__construct();$WHOPmx0b["productname"] = new ITS4YouOutgoingProducts_Field_Model("productname", "productname", "HEAD_PRODUCT", 2);$WHOPmx0b["quantity"] = new ITS4YouOutgoingProducts_Field_Model("quantity", "quantity", "HEAD_QTY", 7);$WHOPmx0b["deliverynotes_no"] = new ITS4YouOutgoingProducts_Field_Model("deliverynotes_no", "deliverynotes_no", "HEAD_DELNOTENO", 4);$WHOPmx0b["issue_date"] = new ITS4YouOutgoingProducts_Field_Model("issue_date", "issue_date", "HEAD_DELDATE", 5);$WHOPmx0b["parent_id"] = new ITS4YouOutgoingProducts_Field_Model("parent_id", "parent_id", "HEAD_ORGANIZATION", 10);$this->fields = $WHOPmx0b;}public function getField($WHOPmx0c) { return $this->fields[$WHOPmx0c];}public function getFields($WHOPmx0d = false) { if ($WHOPmx0d !== false)return $this->fields;else return array();}public function getDefaultUrl() { return 'index.php?module=' . $this->get('name') . '&view=' . $this->getListViewName();}public function getListViewLinks() { return array();}public function getSideBarLinks($WHOPmx0e) { $WHOPmx0f = array('SIDEBARLINK', 'SIDEBARWIDGET');$WHOPmx10 = Vtiger_Link_Model::getAllByType($this->getId(), $WHOPmx0f, $WHOPmx0e);$WHOPmx11 = array(array('linktype' => 'SIDEBARLINK','linklabel' => 'LBL_RECORDS_LIST','linkurl' => $this->getDefaultUrl(),'linkicon' => '',),);foreach ($WHOPmx11 as $WHOPmx12) {$WHOPmx10['SIDEBARLINK'][] = Vtiger_Link_Model::getInstanceFromValues($WHOPmx12);}return $WHOPmx10;}public function getListViewMassActions() { return array();}} ?>

Function Calls

None

Variables

None

Stats

MD5 9acc9ceed65d15eda27768572952431e
Eval Count 0
Decode Time 87 ms