ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Class ilBiblFileReaderBase. 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 () | |
Public Member Functions inherited from ilBiblFileReaderInterface | |
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 | |
Class ilBiblFileReaderBase.
Definition at line 8 of file class.ilBiblFileReaderBase.php.
ilBiblFileReaderBase::__construct | ( | ilBiblEntryFactoryInterface | $entry_factory, |
ilBiblFieldFactoryInterface | $field_factory, | ||
ilBiblAttributeFactoryInterface | $attribute_factory | ||
) |
ilBiblFileReaderBase constructor.
ilBiblEntryFactoryInterface | $entry_factory |
Definition at line 47 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 79 of file class.ilBiblFileReaderBase.php.
Referenced by __construct().
ilBiblFileReaderBase::getAttributeFactory | ( | ) |
Implements ilBiblFileReaderInterface.
Definition at line 213 of file class.ilBiblFileReaderBase.php.
References $attribute_factory.
Referenced by setPathToFile().
ilBiblFileReaderBase::getEntryFactory | ( | ) |
Implements ilBiblFileReaderInterface.
Definition at line 196 of file class.ilBiblFileReaderBase.php.
References $entry_factory.
Referenced by setPathToFile().
ilBiblFileReaderBase::getFieldFactory | ( | ) |
Implements ilBiblFileReaderInterface.
Definition at line 204 of file class.ilBiblFileReaderBase.php.
References $field_factory.
ilBiblFileReaderBase::getFileContent | ( | ) |
Definition at line 106 of file class.ilBiblFileReaderBase.php.
References $file_content.
Referenced by ilBiblTexFileReader\convertBibSpecialChars(), ilBiblTexFileReader\normalizeContent(), and ilBiblTexFileReader\parseContent().
ilBiblFileReaderBase::getPathToFile | ( | ) |
Definition at line 124 of file class.ilBiblFileReaderBase.php.
References $path_to_file.
ilBiblFileReaderBase::setFileContent | ( | $file_content | ) |
string | $file_content |
Definition at line 115 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 133 of file class.ilBiblFileReaderBase.php.
References $entry_factory, $key, $path_to_file, $type, $x, getAttributeFactory(), getEntryFactory(), ilObject2\getId(), ilBiblFileReaderInterface\parseContent(), ilStr\strLen(), and ilStr\subStr().
Referenced by __construct().
|
protected |
Definition at line 39 of file class.ilBiblFileReaderBase.php.
Referenced by __construct(), and getAttributeFactory().
|
protected |
Definition at line 31 of file class.ilBiblFileReaderBase.php.
Referenced by __construct(), getEntryFactory(), and setPathToFile().
|
protected |
Definition at line 35 of file class.ilBiblFileReaderBase.php.
Referenced by __construct(), and getFieldFactory().
|
protected |
Definition at line 23 of file class.ilBiblFileReaderBase.php.
Referenced by getFileContent(), and setFileContent().
|
protected |
Definition at line 27 of file class.ilBiblFileReaderBase.php.
Referenced by __construct(), getPathToFile(), and setPathToFile().
const ilBiblFileReaderBase::ATTRIBUTE_VALUE_MAXIMAL_TEXT_LENGTH = 4000 |
Definition at line 16 of file class.ilBiblFileReaderBase.php.
const ilBiblFileReaderBase::ENCODING_ASCII = 'ASCII' |
Definition at line 18 of file class.ilBiblFileReaderBase.php.
const ilBiblFileReaderBase::ENCODING_ISO_8859_1 = 'ISO-8859-1' |
Definition at line 19 of file class.ilBiblFileReaderBase.php.
const ilBiblFileReaderBase::ENCODING_UTF_8 = 'UTF-8' |
Definition at line 17 of file class.ilBiblFileReaderBase.php.