ILIAS  eassessment Revision 61809
 All Data Structures Namespaces Files Functions Variables Groups Pages
ilExcelUtils Class Reference
+ Collaboration diagram for ilExcelUtils:

Public Member Functions

 _convert_text ($a_text, $a_target="has been removed")

Static Public Member Functions

static ExcelAdapter ()

Detailed Description

Definition at line 12 of file class.ilExcelUtils.php.

Member Function Documentation

ilExcelUtils::_convert_text (   $a_text,
  $a_target = "has been removed" 
)
static ilExcelUtils::ExcelAdapter ( )
static

Definition at line 24 of file class.ilExcelUtils.php.

Referenced by ilTestExport\aggregatedResultsToExcel(), ilQuestionpoolExport\buildExportFileXLS(), ilTestExport\buildExportResultFile(), ilSurveyEvaluationGUI\exportCumulatedResults(), ilObjExercise\exportGradesExcel(), ilTestExport\exportToExcel(), ilSurveyEvaluationGUI\exportUserSpecificResults(), ilQuestionpoolExport\ilQuestionpoolExport(), and ilTestExport\singleChoiceExport().

{
$excelSetting = new ilSetting("excel");
$isXLS = (strcmp($excelSetting->get('creator'), 'xls') == 0 || strlen($excelSetting->get('creator')) == 0);
if ($isXLS)
{
// xls
include_once "./Services/Excel/classes/class.ilExcelXLSAdapter.php";
$adapter = new ilExcelXLSAdapter();
}
else
{
// xlsx
include_once "./Services/Excel/classes/class.ilExcelXMLAdapter.php";
$adapter = new ilExcelXMLAdapter();
}
return $adapter;
}

+ Here is the caller graph for this function:


The documentation for this class was generated from the following file: