public function actionDelete($id) { if ($this->getModule()->detachFile($id)) { return true; } else { return false; } }