function __construct() { parent::__construct(); $this->_dhl_post_url = $this->getServerURL(); if (isset($_POST)) { $this->prepareLabelInfo(); $this->_dhl_label_packages = Tools::getValue('pack'); $this->_response['errors'] = $this->validateRequiredInfos(); $this->_response['success'] = array(); } }