Twitter Feed

Xataface Maillist

Sign up to receive the Xataface news letter with weekly updates and development tips.

 
Found 1 of 138 records in table Wiki
Now Showing 1 of 1

Current Record: getRegistrationActivationEmailSubject

getRegistrationActivationEmailSubject

[Permalink]

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 subject line (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){
        reeturn 'Welcome to the site.. Activation required';   
    }
}

See Also

blog comments powered by Disqus
Powered by Xataface
(c) 2005-2018 All rights reserved