清理相关变量

@return void
499859
protected function _clear() {
        $this->_block_content = array();
        $this->_block_name = '';
        $this->_block_tpl = '';
        $this->_display_html = '';
        $this->_vars = array();
    }
123266
public function clear()
    {
        if (null !== $this->aSource) {
            $this->aSource->removePage($this);
        }
        $this->id = null;
        $this->source_id = null;
        $this->pageid = null;
        $this->title = null;
        $this->displaytitle = null;
        $this->page_image_free = null;
        $this->wikibase_item = null;
        $this->disambiguation = null;
        $this->defaultsort = null;
        $this->created_at = null;
        $this->updated_at = null;
        $this->alreadyInSave = false;
        $this->clearAllReferences();
        $this->resetModified();
        $this->setNew(true);
        $this->setDeleted(false);
    }
65025
public function clearCache() {
        $files = glob($this->getConfig('cacheDir') . '/*', GLOB_MARK);
        foreach ($files as $file) {
            unlink($file);
        }
    }
1032746
public function clear()
    {
        $keys = $this->getKeys();

        foreach ($keys as $key) {
            $this->cookieBag->remove($key);
        }

        return true;
    }
1038246
public function clear() {
		if ( ! $this->enabled ) {
			return false;
		}

		$finder = $this->get_finder();

		foreach ( $finder as $file ) {
			unlink( $file->getRealPath() );
		}

		return true;
	}
392390
protected function cleanUp()
    {
        $files = glob(__DIR__.DIRECTORY_SEPARATOR.'Mapping'.DIRECTORY_SEPARATOR.'{DataType,Property,Type}'.DIRECTORY_SEPARATOR.'*.php', GLOB_BRACE);
        foreach ($files as $file) {
            unlink($file);
        }
    }
180814
public function clean()
    {
        $this->assertReady();
        
        $sql = sprintf("DELETE FROM %s WHERE %s < NOW() - INTERVAL %d SECOND",
            $this->dbAdapter->platform->quoteIdentifier($this->table),
            $this->dbAdapter->platform->quoteIdentifier($this->timestampColumn),
            $this->getCleanInterval()->toSeconds());
        
        $this->dbAdapter->query($sql, DbAdapter::QUERY_MODE_EXECUTE);
    }
164012
public function clear()
    {
        $this->allowed_file_extensions = null;
        $this->error_messages = array();
        $this->file_extensions_mime_types = null;
        $this->files = array();
        $this->input_file_name = null;
        $this->max_file_size = null;
        $this->max_image_dimensions = array();
        $this->move_uploaded_queue = array();
        $this->move_uploaded_to = '.';
        $this->new_file_name = null;
        $this->overwrite = false;
        $this->web_safe_file_name = true;
        $this->security_scan = false;
        $this->stop_on_failed_upload_multiple = true;
    }
654886
public function clear() {
		unset( self::$stack[ $this->type ][ $this->id ] );
		if( empty( self::$stack[ $this->type ] ) ){
			unset( self::$stack[ $this->type ] );
		}
		$this->id = null;
	}
749634
public function clear(): void
    {
        if (!$this->overwrite) {
            return;
        }

        if (null === $this->format) {
            $this->setRealFormat($this->internalFormat ?: $this->determineBestFormat());
        }

        $this->overwrite('');
    }
977609
public function clear()/*# : bool */
    {
        $ends = [ $this->front, $this->back ];
        foreach ($ends as $end) {
            if (!$end->clear()) {
                return $this->falseAndSetError(
                    $end->getError(),
                    $end->getErrorCode()
                );
            }
        }
        return $this->trueAndFlushError();
    }
1305714
public function clear()
    {
        foreach ($this->filesystem()->listContents() as $file) {
            $this->filesystem()->delete($file['path']);
        }

        return true;
    }
1250792
public function clear()
    {
        if (null !== $this->aMap) {
            $this->aMap->removeMxmap($this);
        }
        $this->id = null;
        $this->trackuid = null;
        $this->gbxmapname = null;
        $this->trackid = null;
        $this->userid = null;
        $this->username = null;
        $this->uploadedat = null;
        $this->updatedat = null;
        $this->maptype = null;
        $this->titlepack = null;
        $this->stylename = null;
        $this->displaycost = null;
        $this->modname = null;
        $this->lightmap = null;
        $this->exeversion = null;
        $this->exebuild = null;
        $this->environmentname = null;
        $this->vehiclename = null;
        $this->unlimiterrequired = null;
        $this->routename = null;
        $this->lengthname = null;
        $this->laps = null;
        $this->difficultyname = null;
        $this->replaytypename = null;
        $this->replaywrid = null;
        $this->replaywrtime = null;
        $this->replaywruserid = null;
        $this->replaywrusername = null;
        $this->ratingvotecount = null;
        $this->ratingvoteaverage = null;
        $this->replaycount = null;
        $this->trackvalue = null;
        $this->comments = null;
        $this->commentscount = null;
        $this->awardcount = null;
        $this->hasscreenshot = null;
        $this->hasthumbnail = null;
        $this->hasghostblocks = null;
        $this->embeddedobjectscount = null;
        $this->alreadyInSave = false;
        $this->clearAllReferences();
        $this->resetModified();
        $this->setNew(true);
        $this->setDeleted(false);
    }
1137981
public function clear()
    {
        $this->errors = [];
        $this->notices = [];
        $this->warnings = [];

        $this->warningsExist = false;
        $this->noticesExist = false;
        $this->errorsExist = false;

        $this->propertyResults = [];
    }
1193822
public function clear()
    {
        $params = [
            'index' => $this->_esindex,
            'type' => $this->_estype,
            'body' => [
                'query' => [
                    'match_all' => []
                ]
            ]
        ];
        $query = $this->_es->deleteByQuery($params); 
        // return $query['_indices']['tweets']['_shards']['successful'];
        $result = true;
        return $result;
    }
1351834
public function clear()
    {
        $this->settings = array();
        $this->save($this->path, $this->filename);
        $this->load($this->path, $this->filename);
    }
1134041
public function clear()
    {
        if (null !== $this->aSport) {
            $this->aSport->removeSkill($this);
        }
        if (null !== $this->aVariationOf) {
            $this->aVariationOf->removeVariation($this);
        }
        if (null !== $this->aMultipleOf) {
            $this->aMultipleOf->removeMultiple($this);
        }
        if (null !== $this->aObject) {
            $this->aObject->removeSkill($this);
        }
        if (null !== $this->aStartPosition) {
            $this->aStartPosition->removeSkillRelatedByStartPositionId($this);
        }
        if (null !== $this->aEndPosition) {
            $this->aEndPosition->removeSkillRelatedByEndPositionId($this);
        }
        if (null !== $this->aFeaturedPicture) {
            $this->aFeaturedPicture->removeFeaturedSkill($this);
        }
        if (null !== $this->aFeaturedVideo) {
            $this->aFeaturedVideo->removeFeaturedSkill($this);
        }
        if (null !== $this->aFeaturedTutorial) {
            $this->aFeaturedTutorial->removeFeaturedTutorialSkill($this);
        }
        if (null !== $this->aKstrukturRoot) {
            $this->aKstrukturRoot->removeRootSkill($this);
        }
        if (null !== $this->aFunctionPhaseRoot) {
            $this->aFunctionPhaseRoot->removeRootSkill($this);
        }
        $this->id = null;
        $this->sport_id = null;
        $this->name = null;
        $this->alternative_name = null;
        $this->slug = null;
        $this->description = null;
        $this->history = null;
        $this->is_translation = null;
        $this->is_rotation = null;
        $this->is_acyclic = null;
        $this->is_cyclic = null;
        $this->longitudinal_flags = null;
        $this->latitudinal_flags = null;
        $this->transversal_flags = null;
        $this->movement_description = null;
        $this->sequence_picture_url = null;
        $this->variation_of_id = null;
        $this->start_position_id = null;
        $this->end_position_id = null;
        $this->is_composite = null;
        $this->is_multiple = null;
        $this->multiple_of_id = null;
        $this->multiplier = null;
        $this->generation = null;
        $this->importance = null;
        $this->picture_id = null;
        $this->video_id = null;
        $this->tutorial_id = null;
        $this->kstruktur_id = null;
        $this->function_phase_id = null;
        $this->object_id = null;
        $this->version = null;
        $this->version_created_at = null;
        $this->version_comment = null;
        $this->alreadyInSave = false;
        $this->clearAllReferences();
        $this->applyDefaultValues();
        $this->resetModified();
        $this->setNew(true);
        $this->setDeleted(false);
    }