ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Go to the source code of this file.
Namespaces | |
PHPExcel | |
Variables | |
const | EOL (PHP_SAPI == 'cli') ? PHP_EOL : '<br />' |
$inputFileType = 'Excel5' | |
Include PHPExcel. More... | |
$inputFileName = 'templates/31docproperties.xls' | |
Load Tests from $inputFileType | file |
$callStartTime = microtime(true) | |
$objPHPExcelReader = PHPExcel_IOFactory::createReader($inputFileType) | |
$objPHPExcel = $objPHPExcelReader->load($inputFileName) | |
$callEndTime = microtime(true) | |
$callTime = $callEndTime - $callStartTime | |
sprintf('%.4f', $callTime) | seconds |
memory_get_usage(true)/1024/1024) | MB |
Adjust | properties |
Write to Excel5 | format |
$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel5') | |
File written | to |
Peak memory | usage |
$objPHPExcelRead = PHPExcel_IOFactory::load(str_replace('.php', '.xls', __FILE__)) | |
date ( 'd-M-Y', $objPHPExcel->getProperties() ->getCreated()) | |
$customProperties = $objPHPExcel->getProperties()->getCustomProperties() | |
foreach ( $customProperties as $customProperty) | |
$callEndTime = microtime(true) |
Definition at line 51 of file 31docproperties_write-xls.php.
$callStartTime = microtime(true) |
Definition at line 46 of file 31docproperties_write-xls.php.
$callTime = $callEndTime - $callStartTime |
Definition at line 52 of file 31docproperties_write-xls.php.
$customProperties = $objPHPExcel->getProperties()->getCustomProperties() |
Definition at line 104 of file 31docproperties_write-xls.php.
$inputFileName = 'templates/31docproperties.xls' |
Definition at line 42 of file 31docproperties_write-xls.php.
$inputFileType = 'Excel5' |
Include PHPExcel.
Definition at line 41 of file 31docproperties_write-xls.php.
$objPHPExcel = $objPHPExcelReader->load($inputFileName) |
Definition at line 49 of file 31docproperties_write-xls.php.
$objPHPExcelRead = PHPExcel_IOFactory::load(str_replace('.php', '.xls', __FILE__)) |
Definition at line 79 of file 31docproperties_write-xls.php.
$objPHPExcelReader = PHPExcel_IOFactory::createReader($inputFileType) |
Definition at line 48 of file 31docproperties_write-xls.php.
$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel5') |
Definition at line 67 of file 31docproperties_write-xls.php.
date |
Definition at line 86 of file 31docproperties_write-xls.php.
Referenced by ilChatroomHistoryGUI\__construct(), ilLPObjectStatisticsTypesTableGUI\__construct(), ilScorm2004Export\__construct(), ilLog\__construct(), ilForumPostsDeleted\__construct(), ilValidator\__construct(), ActiveRecord\__getConvertedDateFieldsAsArray(), ilObjUserGUI\__getDateSelect(), ilRegistrationSettingsGUI\__prepareDateSelect(), ilCourseContentGUI\__prepareDateSelect(), ilCourseContentGUI\__prepareTimeSelect(), ilCourseContentGUI\__renderItem(), PHPExcel_Worksheet_AutoFilter\_dynamicFilterDateRange(), PHPExcel_Worksheet_AutoFilter\_filterTestInDateGroupSet(), PHPExcel_Worksheet_AutoFilter\_filterTestInPeriodDateSet(), ilExport\_generateIndexFile(), ilTimeZone\_getDefaultTimeZone(), ilObjUser\_getUserIdsByInactivationPeriod(), ilObjUser\_getUserIdsByInactivityPeriod(), ilChangeEvent\_recordObjStats(), ilChangeEvent\_recordReadEvent(), ilObjLanguageExt\_saveValues(), ilDiskQuotaChecker\_sendSummaryMails(), ilSessionAppointment\_timeToString(), ilObjUser\_updateLastLogin(), ilForumPost\activateParentPosts(), ilForumPost\activatePost(), ilForumPost\activatePostAndChildPosts(), arEditGUI\addDateTimeInputField(), ilObjBookingPoolGUI\addDaysDate(), ilForumDraftsHistory\addDraftToHistory(), ilDclDatetimeFieldRepresentation\addFilterInputFieldToTable(), ilObjUser\addObjectToClipboard(), ilForum\addPostTree(), ilObjUser\addToPCClipboard(), ilCalendarRecurrenceCalculator\applyBYWEEKNORules(), ilCalendarRecurrenceCalculator\applyBYYEARDAYRules(), ilLanguageFile\build(), ilObjBookingPoolGUI\buildDatesBySchedule(), ilScorm2004Export\buildExportFileHTML(), ilScorm2004Export\buildExportFileHTMLOne(), ilScorm2004Export\buildExportFileISO(), ilScorm2004Export\buildExportFilePDF(), ilScorm2004Export\buildExportFileSCORM(), ilSurveyQuestionpoolExport\buildExportFileXML(), ilSurveyExport\buildExportFileXML(), ilGlossaryExport\buildExportFileXML(), ilQuestionpoolExport\buildExportFileXML(), ilContObjectExport\buildExportFileXML(), ilTestExport\buildExportFileXML(), ilTestExport\buildExportResultFile(), ilWikiStat\buildFullPeriodData(), ilChatroomKickGUI\buildMessage(), ilChatroomUploadFileGUI\buildMessage(), ActiveRecordList\buildRow(), ilObjExercise\checkDate(), ilSCORM2004StoreData\checkIfAllowed(), ilObjSCORMTracking\checkIfAllowed(), ilDclTable\checkLimit(), ilUserCronCheckAccounts\checkNotConfirmedUserAccounts(), ilObjSurvey\checkReminder(), ilCronJob\checkSchedule(), ilChatroomServerHandler\cleanupPrivateRooms(), ilSkillTreeNode\clipboardCopy(), ilSCORM2004Node\clipboardCopy(), ilLMObject\clipboardCopy(), Parser\closeList(), ilMailCronOrphanedMailsDeletionCollector\collect(), ilMailCronOrphanedMailsNotificationCollector\collect(), ilObjBookingPoolGUI\confirmedBookingNumbersObject(), ilPageObject\copyContents(), ilObjGlossaryGUI\copyTerms(), ilRegistrationSettingsGUI\createCodes(), ilTestArchiver\createPassMaterialsDirectory(), ilObjBlogGUI\createPosting(), ilObjTest\createRandomSolutions(), ilConsultationHoursGUI\createSequence(), PHPExcel_Calculation_DateTime\DATEVALUE(), ilForum\deletePost(), ilMemberExportGUI\deliverData(), ilChatroomServerHandler\disconnectedUsers(), ilMemberExportGUI\downloadExportFile(), ilObjLanguageExtGUI\downloadObject(), ilCourseContentGUI\editTimings(), ilWikiStatGUI\export(), ilAccountCodesGUI\exportCodes(), ilRegistrationSettingsGUI\exportCodes(), ilSessionStatisticsGUI\exportCSV(), ilSurveyEvaluationGUI\exportCumulatedResults(), ilSurveyEvaluationGUI\exportEvaluationUser(), ilObjQuestionPool\exportFileItems(), ilSCORM2004Asset\exportFileItems(), ilObjGlossary\exportFileItems(), ilObjContentObject\exportFileItems(), ilObjSCORM2004LearningModule\exportFileItems(), ilObjTest\exportFileItems(), ilECSSettingsGUI\exportImported(), ilObjTest\exportPagesXML(), ilECSSettingsGUI\exportReleased(), ilObjSCORM2004LearningModule\exportScorm(), ilStructureObject\exportXML(), ilObjGlossary\exportXML(), ilObjContentObject\exportXML(), ilObjGlossary\exportXMLGlossaryItems(), ilObjQuestionPool\exportXMLMediaObjects(), ilSCORM2004Asset\exportXMLMediaObjects(), ilObjGlossary\exportXMLMediaObjects(), ilObjContentObject\exportXMLMediaObjects(), ilObjTest\exportXMLMediaObjects(), ilObjQuestionPool\exportXMLPageObjects(), ilSCORM2004Asset\exportXMLPageObjects(), ilObjContentObject\exportXMLPageObjects(), ilObjTest\exportXMLPageObjects(), ilBPMN2ParserUtils\extractTimeDateEventDefinitionFromElement(), Parser\fetchScaryTemplateMaybeFromCache(), ilLPObjectStatisticsTypesTableGUI\fillRow(), ilObjGroup\findGroupsWithNotEnoughMembers(), ilDclDatetimeRecordRepresentation\formatDate(), ilLPCronObjectStatistics\gatherCourseLPData(), ilLPCronObjectStatistics\gatherTypesData(), ilLPCronObjectStatistics\gatherUserData(), ilForum\generatePost(), ilForum\generateThread(), ilOrgUnitType\getAllTypes(), ilObjCourse\getArchiveEnd(), ilCalendarSchedule\getChangedEvents(), ilSessionStatisticsGUI\getChart(), ilWikiStatGUI\getChartData(), ilSessionStatistics\getCurrentSlot(), ilCalendarBlockGUI\getData(), ilCourseParticipants\getDateTimeOfPassed(), ilObjForum\getDiskUsage(), ilFileDataForumDrafts\getDraftsPath(), ilSessionAppointment\getEnd(), ilSessionAppointment\getEndingTime(), ilScorm2004Export\getExportSubDirectory(), ilFeedWriter\getFeed(), TCPDF_STATIC\getFormattedDate(), ilFileDataForum\getForumPath(), ilCalendarUtil\getHourSelection(), ilDclDatetimeFieldRepresentation\getInputField(), ilLPObjectStatisticsTypesTableGUI\getItems(), ilBookingReservation\getListByDate(), ilWikiStatGUI\getListData(), ilObjAssessmentFolderGUI\getLogDataOutputForm(), ilSCORM13Player\getLogFileList(), ilLPTableBaseGUI\getMonthsFilter(), ilLPTableBaseGUI\getMonthsYear(), ilNotification\getNotificationsForObject(), ilTrQuery\getObjectTypeStatisticsPerMonth(), ilTestArchiver\getPassDataDirectory(), ilPageObject\getRecentChanges(), ilSessionAppointment\getStart(), ilSessionAppointment\getStartingTime(), ilBirthdayInputGUI\getStartYear(), ilObjCourse\getSubItems(), ilWorkflowScaffold\getTimeDateEventDefinition(), Monolog\Handler\RotatingFileHandler\getTimedFilename(), ilWikiStat\getTimestamp(), ilDclDatetimeRecordFieldModel\getValueFromExcel(), ilTestArchiver\handInBestSolutionQuestionMaterial(), ilTestArchiver\handInParticipantMisc(), ilTestArchiver\handInParticipantQuestionMaterial(), ilTestArchiver\handInParticipantSubmission(), ilTestArchiver\handInTestBestSolution(), ilTestArchiver\handInTestResult(), ilTestArchiver\handInTestResultsOverview(), ilForumXMLParser\handlerEndTag(), ilMailImportParser\handlerEndTag(), ilNewsItem\handleTimePeriod(), ilUserImportParser\importEndTag(), ilSCORMPresentationGUI\increase_attemptAndsave_module_version(), ilSCORM13Player\increase_attemptAndsave_module_version(), ilLPObjectStatisticsDailyTableGUI\initFilter(), ilLPObjectStatisticsTableGUI\initFilter(), ilLPObjectStatisticsTypesTableGUI\initFilter(), ilLPObjectStatisticsLPTableGUI\initFilter(), ilBookingReservationsTableGUI\initFilter(), ilObjCalendarSettingsGUI\initFormSettings(), ilPersonalSettingsGUI\initGeneralSettingsForm(), ilCalendarPresentationGUI\initSeed(), ilCalendarUserSettingsGUI\initSettingsForm(), ilObjLanguage\insert(), ilLanguage\insertLanguage(), ilForum\insertPostNode(), ilSurveyParticipantsGUI\isAnonymousListActive(), ilBookingReservation\isObjectAvailableInPeriod(), Slim\lastModified(), PHPExcel_Shared_OLE\LocalDate2OLE(), Slim_Logger\log(), ilSCORM13Player\logFileName(), ilObjForum\lookupForumIdByRefId(), ilObjUserFolderGUI\mailObject(), ilUtil\makeDateSelect(), ilUtil\makeTimeSelect(), ilMailCronOrphanedMailsNotifier\markAsNotified(), ilObjGroup\mayLeave(), ilObjCourse\mayLeave(), MDB2_Date\mdbNow(), MDB2_Date\mdbTime(), MDB2_Date\mdbToday(), ilAwarenessAct\notifyOnNewOnlineContacts(), ilUtil\now(), ilObjQuestionPool\objectToXmlWriter(), Securimage\outputAudioFile(), soap_server\parse_request(), ilCalendarWeekGUI\parseHourInfo(), ilCalendarDayGUI\parseInfoIntoRaster(), PHPExcel_Shared_Date\PHPToExcel(), ilForum\postCensorship(), ilSCORM13Player\postLogEntry(), ilObjTestGUI\printobject(), ilObjForumGUI\publishDraftObject(), ilValidator\purgeObjects(), ilObjGlossaryGUI\referenceTerms(), ilObjBookingPoolGUI\renderSlots(), ilObjTestGUI\reviewobject(), PHPMailer\rfcDate(), Monolog\Handler\RotatingFileHandlerTest\rotationTests(), ilMembershipCronNotifications\run(), ilLPCronObjectStatistics\run(), ilLoggerCronCleanErrorFiles\run(), ilForumCronNotification\run(), ilForumPostDraft\saveDraft(), ilMailingListsGUI\saveForm(), ilObjLanguageExtGUI\saveNewEntryObject(), ilObjTest\saveToDb(), ilObjSCORMTracking\scorm12PlayerUnload(), ilSCORM2004StoreData\scormPlayerUnload(), ilSCORMOfflineMode\scormPlayerUnloadForSop2il(), ilMailSummaryNotification\send(), ilMail\sendInternalMail(), ilFileDelivery\sendLastModified(), ilObjUser\setActive(), ilSCORM2004StoreData\setCMIData(), ilMDAnnotation\setDate(), ilDateTimeInputGUI\setDate(), ilMDContribute\setDate(), ilExternalFeedItem\setDate(), ilFeedItem\setDate(), phpCAS\setDebug(), ilObjSCORMInitData\setHash(), ilGlossaryPresentationGUI\showDownloadList(), ilAdvancedMDRecordGUI\showECSStart(), Monolog\Formatter\NormalizerFormatterTest\testBatchFormat(), Monolog\Formatter\LineFormatterTest\testBatchFormat(), Monolog\Formatter\LineFormatterTest\testContextAndExtraOptionallyNotShownIfEmpty(), Monolog\Formatter\LineFormatterTest\testDefFormatExtras(), Monolog\Formatter\LineFormatterTest\testDefFormatWithArrayContext(), Monolog\Formatter\LineFormatterTest\testDefFormatWithException(), Monolog\Formatter\LineFormatterTest\testDefFormatWithObject(), Monolog\Formatter\LineFormatterTest\testDefFormatWithPreviousException(), Monolog\Formatter\LineFormatterTest\testDefFormatWithString(), Monolog\Formatter\NormalizerFormatterTest\testFormat(), Monolog\Formatter\LineFormatterTest\testFormatExtras(), Symfony\Component\Yaml\Tests\ParserTest\testParseDateAsMappingValue(), Monolog\Handler\RotatingFileHandlerTest\testReuseCurrentFile(), Monolog\Handler\RotatingFileHandlerTest\testRotation(), Monolog\Handler\RotatingFileHandlerTest\testRotationCreatesNewFile(), timestamp_to_iso8601(), MDB2_Date\unix2Mdbstamp(), ilForumTopic\update(), ilForumPostDraft\updateDraft(), ilMail\updateDraft(), ilNotification\updateNotificationTime(), ilWikiStatGUI\view(), PHPExcel_Writer_OpenDocument_Meta\write(), PHPExcel_Writer_Excel2007_DocProps\writeDocPropsCore(), PHPExcel_Writer_Excel2007_DocProps\writeDocPropsCustom(), ilDAVServer\writelog(), ilLoggingActivity\writeLogMessage(), and ilLPStatus\writeStatus().
Peak memory memory_get_peak_usage (true)/1024/1024) . " MB" EOL (PHP_SAPI == 'cli') ? PHP_EOL : '<br />' |
Definition at line 33 of file 31docproperties_write-xls.php.
Reread Excel5 file |
Definition at line 45 of file 31docproperties_write-xls.php.
foreach($customProperties as $customProperty) |
Definition at line 105 of file 31docproperties_write-xls.php.
Write to Excel5 format |
Definition at line 66 of file 31docproperties_write-xls.php.
memory_get_usage (true)/1024/1024) MB |
Definition at line 55 of file 31docproperties_write-xls.php.
Get properties |
Definition at line 58 of file 31docproperties_write-xls.php.
sprintf ('%.4f', $callTime) seconds |
Definition at line 53 of file 31docproperties_write-xls.php.
File written to |
Definition at line 69 of file 31docproperties_write-xls.php.
Peak memory usage |
Definition at line 73 of file 31docproperties_write-xls.php.