Back to PhocaDownloadLayout class

Method getProtectEmail

public
getProtectEmail
(mixed $email)

Method getProtectEmail - Source code

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