|
ILIAS
release_8 Revision v8.24
|
Class ilBiblFileReaderBase. More...
Inheritance diagram for ilBiblFileReaderBase:
Collaboration diagram for ilBiblFileReaderBase:Public Member Functions | |
| __construct (ilBiblEntryFactoryInterface $entry_factory, ilBiblFieldFactoryInterface $field_factory, ilBiblAttributeFactoryInterface $attribute_factory) | |
| ilBiblFileReaderBase constructor. More... | |
| readContent (ResourceIdentification $identification) | |
| getFileContent () | |
| setFileContent (string $file_content) | |
| parseContent () | |
| parseContentToEntries (ilObjBibliographic $bib) | |
| @inheritDoc More... | |
| getEntryFactory () | |
| getFieldFactory () | |
| getAttributeFactory () | |
| @inheritDoc More... | |
| readContent (ResourceIdentification $identification) | |
| parseContentToEntries (ilObjBibliographic $bib) | |
| getEntryFactory () | |
| getFieldFactory () | |
| getAttributeFactory () | |
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 $string) | |
Protected Attributes | |
| string | $file_content = '' |
| string | $path_to_file = '' |
| ilBiblEntryFactoryInterface | $entry_factory |
| ilBiblFieldFactoryInterface | $field_factory |
| ilBiblAttributeFactoryInterface | $attribute_factory |
| ILIAS ResourceStorage Services | $storage |
Class ilBiblFileReaderBase.
Definition at line 25 of file class.ilBiblFileReaderBase.php.
| ilBiblFileReaderBase::__construct | ( | ilBiblEntryFactoryInterface | $entry_factory, |
| ilBiblFieldFactoryInterface | $field_factory, | ||
| ilBiblAttributeFactoryInterface | $attribute_factory | ||
| ) |
ilBiblFileReaderBase constructor.
Reimplemented in ilBiblRisFileReader.
Definition at line 48 of file class.ilBiblFileReaderBase.php.
References $attribute_factory, $DIC, $entry_factory, and $field_factory.
|
protected |
Definition at line 70 of file class.ilBiblFileReaderBase.php.
References ENCODING_ASCII, and ENCODING_UTF_8.
| ilBiblFileReaderBase::getAttributeFactory | ( | ) |
@inheritDoc
Implements ilBiblFileReaderInterface.
Definition at line 190 of file class.ilBiblFileReaderBase.php.
References $attribute_factory.
Referenced by parseContentToEntries().
Here is the caller graph for this function:| ilBiblFileReaderBase::getEntryFactory | ( | ) |
Implements ilBiblFileReaderInterface.
Definition at line 174 of file class.ilBiblFileReaderBase.php.
References $entry_factory.
Referenced by parseContentToEntries().
Here is the caller graph for this function:| ilBiblFileReaderBase::getFieldFactory | ( | ) |
Implements ilBiblFileReaderInterface.
Definition at line 182 of file class.ilBiblFileReaderBase.php.
References $field_factory.
| ilBiblFileReaderBase::getFileContent | ( | ) |
Definition at line 96 of file class.ilBiblFileReaderBase.php.
References $file_content.
Referenced by ilBiblTexFileReader\convertBibSpecialChars(), ilBiblTexFileReader\normalizeContent(), and ilBiblTexFileReader\parseContent().
Here is the caller graph for this function:
|
abstract |
Reimplemented in ilBiblTexFileReader, and ilBiblRisFileReader.
Referenced by parseContentToEntries().
Here is the caller graph for this function:| ilBiblFileReaderBase::parseContentToEntries | ( | ilObjBibliographic | $bib | ) |
@inheritDoc
Implements ilBiblFileReaderInterface.
Definition at line 111 of file class.ilBiblFileReaderBase.php.
References Vendor\Package\$a, $entry_factory, ILIAS\LTI\ToolProvider\$key, $type, getAttributeFactory(), ilBiblEntryFactoryInterface\getEmptyInstance(), getEntryFactory(), ilObject\getId(), parseContent(), ilStr\strLen(), and ilStr\subStr().
Here is the call graph for this function:| ilBiblFileReaderBase::readContent | ( | ResourceIdentification | $identification | ) |
Implements ilBiblFileReaderInterface.
Definition at line 62 of file class.ilBiblFileReaderBase.php.
References setFileContent().
Here is the call graph for this function:| ilBiblFileReaderBase::setFileContent | ( | string | $file_content | ) |
Definition at line 101 of file class.ilBiblFileReaderBase.php.
References $file_content.
Referenced by ilBiblTexFileReader\convertBibSpecialChars(), ilBiblTexFileReader\normalizeContent(), and readContent().
Here is the caller graph for this function:
|
protected |
Definition at line 40 of file class.ilBiblFileReaderBase.php.
Referenced by __construct(), ilBiblRisFileReader\__construct(), and getAttributeFactory().
|
protected |
Definition at line 38 of file class.ilBiblFileReaderBase.php.
Referenced by __construct(), ilBiblRisFileReader\__construct(), getEntryFactory(), and parseContentToEntries().
|
protected |
Definition at line 39 of file class.ilBiblFileReaderBase.php.
Referenced by __construct(), ilBiblRisFileReader\__construct(), and getFieldFactory().
|
protected |
Definition at line 36 of file class.ilBiblFileReaderBase.php.
Referenced by getFileContent(), and setFileContent().
|
protected |
Definition at line 37 of file class.ilBiblFileReaderBase.php.
|
protected |
Definition at line 42 of file class.ilBiblFileReaderBase.php.
| const ilBiblFileReaderBase::ATTRIBUTE_VALUE_MAXIMAL_TEXT_LENGTH = 4000 |
Definition at line 32 of file class.ilBiblFileReaderBase.php.
| const ilBiblFileReaderBase::ENCODING_ASCII = 'ASCII' |
Definition at line 34 of file class.ilBiblFileReaderBase.php.
Referenced by convertStringToUTF8().
| const ilBiblFileReaderBase::ENCODING_ISO_8859_1 = 'ISO-8859-1' |
Definition at line 35 of file class.ilBiblFileReaderBase.php.
| const ilBiblFileReaderBase::ENCODING_UTF_8 = 'UTF-8' |
Definition at line 33 of file class.ilBiblFileReaderBase.php.
Referenced by convertStringToUTF8().