ILIAS
trunk Revision v11.0_alpha-1744-gb0451eebef4
|
Class ilBiblFileReaderBase. More...
Public Member Functions | |
__construct (protected \ilBiblEntryFactoryInterface $entry_factory, protected \ilBiblFieldFactoryInterface $field_factory, protected \ilBiblAttributeFactoryInterface $attribute_factory) | |
ilBiblFileReaderBase constructor. More... | |
readContent (ResourceIdentification $identification) | |
getFileContent () | |
setFileContent (string $file_content) | |
parseContent () | |
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 = '' |
Services | $storage |
Private Attributes | |
Factory | $refinery |
Class ilBiblFileReaderBase.
Definition at line 27 of file class.ilBiblFileReaderBase.php.
ilBiblFileReaderBase::__construct | ( | protected \ilBiblEntryFactoryInterface | $entry_factory, |
protected \ilBiblFieldFactoryInterface | $field_factory, | ||
protected \ilBiblAttributeFactoryInterface | $attribute_factory | ||
) |
ilBiblFileReaderBase constructor.
Definition at line 48 of file class.ilBiblFileReaderBase.php.
References $DIC, and ILIAS\Repository\refinery().
|
protected |
Definition at line 67 of file class.ilBiblFileReaderBase.php.
References ILIAS\Repository\refinery().
ilBiblFileReaderBase::getAttributeFactory | ( | ) |
Implements ilBiblFileReaderInterface.
Definition at line 167 of file class.ilBiblFileReaderBase.php.
Referenced by parseContentToEntries().
ilBiblFileReaderBase::getEntryFactory | ( | ) |
Implements ilBiblFileReaderInterface.
Definition at line 151 of file class.ilBiblFileReaderBase.php.
Referenced by parseContentToEntries().
ilBiblFileReaderBase::getFieldFactory | ( | ) |
Implements ilBiblFileReaderInterface.
Definition at line 159 of file class.ilBiblFileReaderBase.php.
ilBiblFileReaderBase::getFileContent | ( | ) |
Definition at line 75 of file class.ilBiblFileReaderBase.php.
References $file_content.
Referenced by ilBiblTexFileReader\convertBibSpecialChars(), ilBiblTexFileReader\normalizeContent(), and ilBiblTexFileReader\parseContent().
|
abstract |
Referenced by parseContentToEntries(), and setFileContent().
ilBiblFileReaderBase::parseContentToEntries | ( | ilObjBibliographic | $bib | ) |
Implements ilBiblFileReaderInterface.
Definition at line 90 of file class.ilBiblFileReaderBase.php.
References Vendor\Package\$a, getAttributeFactory(), getEntryFactory(), ilObject\getId(), null, parseContent(), ilStr\strLen(), and ilStr\subStr().
ilBiblFileReaderBase::readContent | ( | ResourceIdentification | $identification | ) |
Implements ilBiblFileReaderInterface.
Definition at line 59 of file class.ilBiblFileReaderBase.php.
References setFileContent().
ilBiblFileReaderBase::setFileContent | ( | string | $file_content | ) |
Definition at line 80 of file class.ilBiblFileReaderBase.php.
References $file_content, and parseContent().
Referenced by ilBiblTexFileReader\convertBibSpecialChars(), ilBiblTexFileReader\normalizeContent(), and readContent().
|
protected |
Definition at line 38 of file class.ilBiblFileReaderBase.php.
Referenced by getFileContent(), and setFileContent().
|
protected |
Definition at line 39 of file class.ilBiblFileReaderBase.php.
|
private |
Definition at line 40 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 34 of file class.ilBiblFileReaderBase.php.
const ilBiblFileReaderBase::ENCODING_ASCII = 'ASCII' |
Definition at line 36 of file class.ilBiblFileReaderBase.php.
const ilBiblFileReaderBase::ENCODING_ISO_8859_1 = 'ISO-8859-1' |
Definition at line 37 of file class.ilBiblFileReaderBase.php.
const ilBiblFileReaderBase::ENCODING_UTF_8 = 'UTF-8' |
Definition at line 35 of file class.ilBiblFileReaderBase.php.