toHtml();
}
public function getMandrillVersion() {
return (string)Mage::getConfig()->getNode('modules/Ebizmarts_Mandrill/version');
}
public function getPxParams() {
$v = $this->getMandrillVersion();
$ext = "Mandrill;{$v}";
$modulesArray = (array)Mage::getConfig()->getNode('modules')->children();
$aux = (array_key_exists('Enterprise_Enterprise', $modulesArray))? 'EE' : 'CE' ;
$mageVersion = Mage::getVersion();
$mage = "Magento {$aux};{$mageVersion}";
$hash = md5($ext . '_' . $mage . '_' . $ext);
return "ext=$ext&mage={$mage}&ctrl={$hash}";
}
}