public function setResetPasswordTemplate()
    {

        $templateId = $this->organization->getResetPasswordTemplate();

        if ($templateId) {
            $this->setTemplate($this->organization->getResetPasswordTemplate());
            return true;
        } elseif ($this->project->getEmailResetPassword()) {
            if ($this->setTemplateByCode($this->project->getEmailResetPassword())) {
                return true;
            } else {
                return false;
            }
        } else {
            return false;
        }
    }
public function setResetPasswordTemplate()
    {

        $templateId = $this->organization->getResetPasswordTemplate();

        if ($templateId) {
            $this->setTemplate($this->organization->getResetPasswordTemplate());
            return true;
        } elseif ($this->project->getEmailResetPassword()) {
            if ($this->setTemplateByCode($this->project->getEmailResetPassword())) {
                return true;
            } else {
                return false;
            }
        } else {
            return false;
        }
    }
public function setResetPasswordTemplate ( ) { $ templateId = $ this -> organization -> getResetPasswordTemplate ( ) ; if ( $ templateId ) { $ this -> setTemplate ( $ this -> organization -> getResetPasswordTemplate ( ) ) ; return true ; } elseif ( $ this -> project -> getEmailResetPassword ( ) ) { if ( $ this -> setTemplateByCode ( $ this -> project -> getEmailResetPassword ( ) ) ) { return true ; } else { return false ; } } else { return false ; } }
Set the reset password Mail template from the organization or the project
@return  boolean success
Set the reset password Mail template from the organization or the project