/**
  * Exports basic project info
  * 
  * @param void
  * @return void
  */
 function export()
 {
     if ($this->active_project->isNew()) {
         $this->httpError(HTTP_ERR_NOT_FOUND);
     }
     // if
     $exportable_modules = explode(',', array_var($_GET, 'modules', null));
     if (!is_foreachable($exportable_modules)) {
         $exportable_modules = null;
     }
     // if
     require_once PROJECT_EXPORTER_MODULE_PATH . '/models/ProjectExporterOutputBuilder.class.php';
     $output_builder = new ProjectExporterOutputBuilder($this->active_project, $this->smarty, false, $exportable_modules);
     if (!$output_builder->createOutputFolder()) {
         $this->serveData($output_builder->execution_log, 'execution_log', null, FORMAT_JSON);
     }
     // if
     $output_builder->createAttachmentsFolder();
     $output_builder->setFileTemplate(SYSTEM_MODULE, 'project', 'index');
     $output_builder->outputToFile('index');
     $output_builder->outputProjectIcon();
     $output_builder->outputStyle();
     $this->serveData($output_builder->execution_log, 'execution_log', null, FORMAT_JSON);
 }