public function actionSave()
 {
     $object = new CDocumentFile();
     $object->setAttributes(CRequest::getArray($object::getClassName()));
     if ($object->validate()) {
         $object->save();
         $this->redirect("index.php?action=index&parent=" . $object->folder_id);
         return true;
     }
     /**
      * Генерация меню
      */
     $this->addActionsMenuItem(array("title" => "Назад", "link" => "index.php?action=index&parent=" . $object->folder_id, "icon" => "actions/edit-undo.png"));
     $this->setData("object", $object);
     $this->renderView("_documents/_file/edit.tpl");
 }