Clears message values and sets default ones.

@return null
506750
public function reset()
    {
        $this->values[self::ID] = null;
        $this->values[self::PUBLICKEY] = null;
        $this->values[self::PRIVATEKEY] = null;
        $this->values[self::SIGNATURE] = null;
        $this->values[self::TIMESTAMP] = null;
    }
1358891
public function clear()
    {
        try {
            // Standardize the params array
            $params = array_change_key_case((array)$this->emailConfig, CASE_LOWER);

            // Initialize the mailer
            $this->mailer = new PHPMailer(true);

            // Set any global options in the params
            // All of these are optional, but if we have them, we should fill them.
            $this->_fillParams($params, array('content-type', 'encoding', 'hostname',
                                             'message-id', 'priority', 'smtp-debug',
                                             'sendmail'), false);

            switch ( strtolower($this->emailMode) ) {
            case 'sendmail':
                $this->mailer->IsSendmail();
                break;

            case 'mail':
                $this->mailer->IsMail();
                break;

            case 'smtp':
                $this->mailer->IsSMTP();
                $this->mailer->SMTPAuth = true;
                $this->_requireParams($params, array('host', 'username', 'password'));
                $this->_fillParams($params, array('port', 'smtp-secure', 'timeout'));
                break;

            case 'smtp-no-auth':
                $this->mailer->IsSMTP();
                $this->_requireParams($params, array('host'));
                $this->_fillParams($params, array('port', 'smtp-secure', 'timeout'));
                break;

            case 'qmail':
                $this->mailer->IsQmail();
                break;

            default:
                throw new EmailException("Invalid Email type: '{$this->emailMode}'");
            }

        } catch (phpmailerException $e) {
            throw new EmailException($e->getMessage(), $e->getCode());
        }
        return $this;
    }
658255
public function clear()
    {
        if (null !== $this->aPermissionRelatedByParentId) {
            $this->aPermissionRelatedByParentId->removePermissionRelatedById($this);
        }
        $this->id = null;
        $this->name = null;
        $this->create_date = null;
        $this->description = null;
        $this->update_date = null;
        $this->status = null;
        $this->parent_id = null;
        $this->alreadyInSave = false;
        $this->clearAllReferences();
        $this->applyDefaultValues();
        $this->resetModified();
        $this->setNew(true);
        $this->setDeleted(false);
    }
389168
public function reset()
    {
        $this->values[self::INDEX] = null;
        $this->values[self::CIPHERKEY] = null;
        $this->values[self::MACKEY] = null;
        $this->values[self::IV] = null;
    }
1322815
public function clear()
    {
        if (null !== $this->aSkill) {
            $this->aSkill->removePicture($this);
        }
        $this->id = null;
        $this->title = null;
        $this->description = null;
        $this->url = null;
        $this->thumb_url = null;
        $this->skill_id = null;
        $this->photographer = null;
        $this->photographer_id = null;
        $this->athlete = null;
        $this->athlete_id = null;
        $this->uploader_id = null;
        $this->alreadyInSave = false;
        $this->clearAllReferences();
        $this->resetModified();
        $this->setNew(true);
        $this->setDeleted(false);
    }
747080
public function reset()
    {
        $this->values[self::PREKEYID] = null;
        $this->values[self::SIGNEDPREKEYID] = null;
        $this->values[self::BASEKEY] = null;
    }
893418
public function clear()
    {
        $this->id = null;
        $this->remote_app_id = null;
        $this->apiversion = null;
        $this->name = null;
        $this->version = null;
        $this->config_displayerrors = null;
        $this->config_bypasscache = null;
        $this->config_minifymarkup = null;
        $this->config_debugmode = null;
        $this->config_maintenancemode = null;
        $this->config_gzipscripts = null;
        $this->config_rewriteurl = null;
        $this->config_adminemail = null;
        $this->config_cachemode = null;
        $this->statuscode = null;
        $this->extensions = null;
        $this->extensions_unserialized = null;
        $this->log = null;
        $this->log_unserialized = null;
        $this->php = null;
        $this->php_unserialized = null;
        $this->mysql = null;
        $this->mysql_unserialized = null;
        $this->alreadyInSave = false;
        $this->alreadyInValidation = false;
        $this->alreadyInClearAllReferencesDeep = false;
        $this->clearAllReferences();
        $this->applyDefaultValues();
        $this->resetModified();
        $this->setNew(true);
        $this->setDeleted(false);
    }
486706
public function clear()
    {
        $this->id = null;
        $this->type = null;
        $this->name = null;
        $this->domain = null;
        $this->api_url = null;
        $this->api_auth_http_user = null;
        $this->api_auth_http_password = null;
        $this->api_auth_type = null;
        $this->api_auth_user = null;
        $this->api_auth_password = null;
        $this->api_auth_token = null;
        $this->api_auth_url_user_key = null;
        $this->api_auth_url_pw_key = null;
        $this->cron = null;
        $this->customer_id = null;
        $this->activated = null;
        $this->notes = null;
        $this->last_run = null;
        $this->includelog = null;
        $this->public_key = null;
        $this->website_hash = null;
        $this->notification_recipient = null;
        $this->notification_sender = null;
        $this->notification_change = null;
        $this->notification_error = null;
        $this->alreadyInSave = false;
        $this->alreadyInValidation = false;
        $this->alreadyInClearAllReferencesDeep = false;
        $this->clearAllReferences();
        $this->applyDefaultValues();
        $this->resetModified();
        $this->setNew(true);
        $this->setDeleted(false);
    }
949018
public function clear()
    {
        $this->id = null;
        $this->mapuid = null;
        $this->name = null;
        $this->filename = null;
        $this->author = null;
        $this->environment = null;
        $this->mood = null;
        $this->bronzetime = null;
        $this->silvertime = null;
        $this->goldtime = null;
        $this->authortime = null;
        $this->copperprice = null;
        $this->laprace = null;
        $this->nblaps = null;
        $this->npcheckpoints = null;
        $this->maptype = null;
        $this->mapstyle = null;
        $this->created_at = null;
        $this->updated_at = null;
        $this->alreadyInSave = false;
        $this->clearAllReferences();
        $this->resetModified();
        $this->setNew(true);
        $this->setDeleted(false);
    }
946839
public function clear()
    {
        if (null !== $this->aSkill) {
            $this->aSkill->removeStructureNode($this);
        }
        $this->id = null;
        $this->type = null;
        $this->skill_id = null;
        $this->title = null;
        $this->descendant_class = null;
        $this->alreadyInSave = false;
        $this->clearAllReferences();
        $this->resetModified();
        $this->setNew(true);
        $this->setDeleted(false);
    }
38363
public function clear()
    {
        $this->id = null;
        $this->active = null;
        $this->filtertype = null;
        $this->code = null;
        $this->alreadyInSave = false;
        $this->clearAllReferences();
        $this->applyDefaultValues();
        $this->resetModified();
        $this->setNew(true);
        $this->setDeleted(false);
    }
644682
public function clear() {

        foreach ($this->getFields() as $k) {
            if ($k != $this->getPk()) {
                $this->setProperty($k, null);
            }
        }

        $this->clearErrors();
    }
882931
protected function clear()
    {
        $this->scheme       = null;
        $this->host         = null;
        $this->port         = null;
        $this->user         = null;
        $this->pass         = null;
        $this->pathSegments = [];
        $this->parameters   = [];
        $this->fragment     = null;
        $this->orignalValue = $this->returnValue  = '';
        return $this->parse();
    }
1225201
private function resetMessage()
    {
        $this->subject = '';
        $this->from = [];
        $this->sender = [];
        $this->to = [];
        $this->cc = [];
        $this->bcc = [];
        $this->reply_to = [];
        $this->attachments = [];
        $this->message_layout->setViewLayout('');
        $this->message_layout->setViewTemplate('');
        $this->message_layout->clearVariables();
    }
1009934
public function clear()
    {
        $this->id = null;
        $this->visible = null;
        $this->code = null;
        $this->title = null;
        $this->type = null;
        $this->entity = null;
        $this->serialized_columns = null;
        $this->serialized_condition = null;
        $this->index_engine_driver_configuration_id = null;
        $this->created_at = null;
        $this->updated_at = null;
        $this->version = null;
        $this->version_created_at = null;
        $this->version_created_by = null;
        $this->alreadyInSave = false;
        $this->clearAllReferences();
        $this->applyDefaultValues();
        $this->resetModified();
        $this->setNew(true);
        $this->setDeleted(false);
    }
1231369
public function clear()
    {
        $this->id = null;
        $this->code = null;
        $this->en = null;
        $this->de = null;
        $this->alreadyInSave = false;
        $this->alreadyInValidation = false;
        $this->alreadyInClearAllReferencesDeep = false;
        $this->clearAllReferences();
        $this->applyDefaultValues();
        $this->resetModified();
        $this->setNew(true);
        $this->setDeleted(false);
    }
954211
public function reset()
    {
        $this->values[self::SEQUENCE] = null;
        $this->values[self::LOCALBASEKEY] = null;
        $this->values[self::LOCALBASEKEYPRIVATE] = null;
        $this->values[self::LOCALRATCHETKEY] = null;
        $this->values[self::LOCALRATCHETKEYPRIVATE] = null;
        $this->values[self::LOCALIDENTITYKEY] = null;
        $this->values[self::LOCALIDENTITYKEYPRIVATE] = null;
    }