framework/db/ar/CActiveFinder.php
public function destroy()
	{
		if(!empty($this->children))
		{
			foreach($this->children as $child)
				$child->destroy();
		}
		unset($this->_finder, $this->_parent, $this->model, $this->relation, $this->master, $this->slave, $this->records, $this->children, $this->stats);
	}
public function destroy()
	{
		if(!empty($this->children))
		{
			foreach($this->children as $child)
				$child->destroy();
		}
		unset($this->_finder, $this->_parent, $this->model, $this->relation, $this->master, $this->slave, $this->records, $this->children, $this->stats);
	}
public function destroy ( ) { if ( ! empty ( $ this -> children ) ) { foreach ( $ this -> children as $ child ) $ child -> destroy ( ) ; } unset ( $ this -> _finder , $ this -> _parent , $ this -> model , $ this -> relation , $ this -> master , $ this -> slave , $ this -> records , $ this -> children , $ this -> stats ) ; }
Removes references to child elements and finder to avoid circular references.
This is internally used.
Removes references to child elements and finder to avoid circular references . This is internally used .