public function getProtectEmail($email) { $email = str_replace('@', '[' . Text::_('COM_PHOCADOWNLOAD_AT') . ']', $email); $email = str_replace('.', '[' . Text::_('COM_PHOCADOWNLOAD_DOT') . ']', $email); return $email; }