original_string: public function render_email_digest(email_digest $emaildigest) {
          $data = $emaildigest->export_for_template($this);
          return $this->render_from_template('message_email/' . $this->get_template_name(), $data);
      }
code: public function render_email_digest(email_digest $emaildigest) {
          $data = $emaildigest->export_for_template($this);
          return $this->render_from_template('message_email/' . $this->get_template_name(), $data);
      }
code_tokens: public function render_email_digest ( email_digest $ emaildigest ) { $ data = $ emaildigest -> export_for_template ( $ this ) ; return $ this -> render_from_template ( 'message_email/' . $ this -> get_template_name ( ) , $ data ) ; }
docstring: Formats the email used to send the certificate by the email_certificate_task.
  
  @param email_digest $emaildigest The certificate to email
  @return string
docstring_tokens: Formats the email used to send the certificate by the email_certificate_task .