public function destroyAll()
	{
		// @FIXME: could make this a single query...
		if ($this->count())
		{
			foreach ($this->rows as $model)
			{
				if (!$model->destroy())
				{
					$this->setErrors($model->getErrors());
					return false;
				}
			}
		}

		return true;
	}
public function destroyAll()
	{
		// @FIXME: could make this a single query...
		if ($this->count())
		{
			foreach ($this->rows as $model)
			{
				if (!$model->destroy())
				{
					$this->setErrors($model->getErrors());
					return false;
				}
			}
		}

		return true;
	}
public function destroyAll ( ) { // @FIXME: could make this a single query... if ( $ this -> count ( ) ) { foreach ( $ this -> rows as $ model ) { if ( ! $ model -> destroy ( ) ) { $ this -> setErrors ( $ model -> getErrors ( ) ) ; return false ; } } } return true ; }
Deletes all models in this collection

@return  bool
@since   2.0.0
Deletes all models in this collection