Model/Behavior/SoftDeleteBehavior.php
public function beforeDelete(Model $model, $cascade = true) {
		$runtime = $this->runtime[$model->alias];
		if ($runtime) {
			if ($model->beforeDelete($cascade)) {
				return $this->delete($model, $model->id);
			}
			return false;
		}
		return true;
	}
public function beforeDelete(Model $model, $cascade = true) {
		$runtime = $this->runtime[$model->alias];
		if ($runtime) {
			if ($model->beforeDelete($cascade)) {
				return $this->delete($model, $model->id);
			}
			return false;
		}
		return true;
	}
public function beforeDelete ( Model $ model , $ cascade = true ) { $ runtime = $ this -> runtime [ $ model -> alias ] ; if ( $ runtime ) { if ( $ model -> beforeDelete ( $ cascade ) ) { return $ this -> delete ( $ model , $ model -> id ) ; } return false ; } return true ; }
Before delete callback

@param Model $model
@param boolean $cascade
@return boolean
Before delete callback