ILIAS
release_7 Revision v7.30-3-g800a261c036
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Public Member Functions | |
__construct (ilBiblEntryFactoryInterface $entry_factory, ilBiblFieldFactoryInterface $field_factory, ilBiblAttributeFactoryInterface $attribute_factory) | |
ilBiblFileReaderBase constructor. More... | |
getFileContent () | |
setFileContent ($file_content) | |
getPathToFile () | |
setPathToFile ($path_to_file) | |
getEntryFactory () | |
| |
getFieldFactory () | |
| |
getAttributeFactory () | |
![]() | |
readContent ($path_to_file) | |
parseContent () | |
Data Fields | |
const | ATTRIBUTE_VALUE_MAXIMAL_TEXT_LENGTH = 4000 |
const | ENCODING_UTF_8 = 'UTF-8' |
const | ENCODING_ASCII = 'ASCII' |
const | ENCODING_ISO_8859_1 = 'ISO-8859-1' |
Protected Member Functions | |
convertStringToUTF8 ($string) | |
Protected Attributes | |
$file_content = '' | |
$path_to_file = '' | |
$entry_factory | |
$field_factory | |
$attribute_factory | |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Class ilBiblFileReaderBase
Definition at line 24 of file class.ilBiblFileReaderBase.php.
ilBiblFileReaderBase::__construct | ( | ilBiblEntryFactoryInterface | $entry_factory, |
ilBiblFieldFactoryInterface | $field_factory, | ||
ilBiblAttributeFactoryInterface | $attribute_factory | ||
) |
ilBiblFileReaderBase constructor.
ilBiblEntryFactoryInterface | $entry_factory |
Definition at line 63 of file class.ilBiblFileReaderBase.php.
References $attribute_factory, $DIC, $entry_factory, $field_factory, $path_to_file, convertStringToUTF8(), ilBiblFileReaderInterface\readContent(), setFileContent(), and setPathToFile().
|
protected |
$string |
Definition at line 96 of file class.ilBiblFileReaderBase.php.
Referenced by __construct().
ilBiblFileReaderBase::getAttributeFactory | ( | ) |
Implements ilBiblFileReaderInterface.
Definition at line 231 of file class.ilBiblFileReaderBase.php.
References $attribute_factory.
Referenced by setPathToFile().
ilBiblFileReaderBase::getEntryFactory | ( | ) |
Implements ilBiblFileReaderInterface.
Definition at line 215 of file class.ilBiblFileReaderBase.php.
References $entry_factory.
Referenced by setPathToFile().
ilBiblFileReaderBase::getFieldFactory | ( | ) |
Implements ilBiblFileReaderInterface.
Definition at line 223 of file class.ilBiblFileReaderBase.php.
References $field_factory.
ilBiblFileReaderBase::getFileContent | ( | ) |
Definition at line 123 of file class.ilBiblFileReaderBase.php.
References $file_content.
Referenced by ilBiblTexFileReader\convertBibSpecialChars(), ilBiblTexFileReader\normalizeContent(), and ilBiblTexFileReader\parseContent().
ilBiblFileReaderBase::getPathToFile | ( | ) |
Definition at line 139 of file class.ilBiblFileReaderBase.php.
References $path_to_file.
ilBiblFileReaderBase::setFileContent | ( | $file_content | ) |
string | $file_content |
Definition at line 131 of file class.ilBiblFileReaderBase.php.
References $file_content.
Referenced by __construct(), ilBiblTexFileReader\convertBibSpecialChars(), and ilBiblTexFileReader\normalizeContent().
ilBiblFileReaderBase::setPathToFile | ( | $path_to_file | ) |
string | $path_to_file |
Definition at line 147 of file class.ilBiblFileReaderBase.php.
References Vendor\Package\$a, $entry_factory, $path_to_file, $type, getAttributeFactory(), getEntryFactory(), ilObject\getId(), ilBiblFileReaderInterface\parseContent(), ilStr\strLen(), and ilStr\subStr().
Referenced by __construct().
|
protected |
Definition at line 56 of file class.ilBiblFileReaderBase.php.
Referenced by __construct(), and getAttributeFactory().
|
protected |
Definition at line 48 of file class.ilBiblFileReaderBase.php.
Referenced by __construct(), getEntryFactory(), and setPathToFile().
|
protected |
Definition at line 52 of file class.ilBiblFileReaderBase.php.
Referenced by __construct(), and getFieldFactory().
|
protected |
Definition at line 40 of file class.ilBiblFileReaderBase.php.
Referenced by getFileContent(), and setFileContent().
|
protected |
Definition at line 44 of file class.ilBiblFileReaderBase.php.
Referenced by __construct(), getPathToFile(), and setPathToFile().
const ilBiblFileReaderBase::ATTRIBUTE_VALUE_MAXIMAL_TEXT_LENGTH = 4000 |
Definition at line 33 of file class.ilBiblFileReaderBase.php.
const ilBiblFileReaderBase::ENCODING_ASCII = 'ASCII' |
Definition at line 35 of file class.ilBiblFileReaderBase.php.
const ilBiblFileReaderBase::ENCODING_ISO_8859_1 = 'ISO-8859-1' |
Definition at line 36 of file class.ilBiblFileReaderBase.php.
const ilBiblFileReaderBase::ENCODING_UTF_8 = 'UTF-8' |
Definition at line 34 of file class.ilBiblFileReaderBase.php.