getRegistrationActivationEmailSubject() Hook

A hook that can be implemented in the Application Delegate Class or the Table Delegate Class to override the default registration activation email message body (the email that the user receives when they register).

Signature

function getRegistrationActivationEmailSubject( Dataface_Record &$record, string $activationURL ) : string

Parameters

Name Description
&$record A Dataface_Record object encapsulating the record that is being inserted in the users table for this registration.
$activationURL The URL where the user can go to activate their account.
returns Mixed. If this method returns a PEAR_Error object, then registration will fail with an error.

Example

<?php
class conf_ApplicationDelegate {

    function getRegistrationActivationEmailInfo(&$record, $activationURL){
        return 'Thanks for registering.  Please visit '.$activationURL.' to activate.';   
    }
}

See Also

var disqus_identifier = ‘xataface.com/wiki/getRegistrationActivationEmailMessage’; (function() { var dsq = document.createElement(‘script’); dsq.type = ‘text/javascript’; dsq.async = true; dsq.src = ‘http://xataface.disqus.com/embed.js’; (document.getElementsByTagName(‘head’)[0] || document.getElementsByTagName(‘body’)[0]).appendChild(dsq); })(); blog comments powered by Disqus

//<![CDATA[ (function() { var links = document.getElementsByTagName(‘a’); var query = ‘?’; for(var i = 0; i < links.length; i++) { if(links[i].href.indexOf(‘#disqus_thread’) >= 0) { query += ‘url’ + i + ‘=’ + encodeURIComponent(links[i].href) + ‘&’; } } document.write(‘