ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
|
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 (protected \ilBiblFieldFactoryInterface $field_factory, protected \ilBiblTypeInterface $file_type, protected \ilBiblOverviewModelFactoryInterface $overview_factory) | |
ilBiblEntryFactory constructor. More... | |
loadParsedAttributesByEntryId (int $entry_id) | |
@inheritDoc More... | |
findByIdAndTypeString (int $id, string $type_string) | |
@inheritDoc More... | |
findOrCreateEntry (int $id, int $bibliographic_obj_id, string $entry_type) | |
@inheritDoc More... | |
createEntry (int $bibliographic_obj_id, string $entry_type) | |
@inheritDoc More... | |
getEmptyInstance () | |
filterEntriesForTable (int $object_id, ?ilBiblTableQueryInfo $info=null) | |
filterEntryIdsForTableAsArray (int $object_id, ?ilBiblTableQueryInfo $info=null) | |
@inheritDoc More... | |
deleteEntryById (int $id) | |
deleteEntriesById (int $object_id) | |
getAllAttributesByEntryId (int $id) | |
getFileType () | |
setFileType (string $file_type) | |
setAttributes (array $attributes) | |
getAttributes () | |
findByIdAndTypeString (int $id, string $type_string) | |
findOrCreateEntry (int $id, int $bibliographic_obj_id, string $entry_type) | |
createEntry (int $bibliographic_obj_id, string $entry_type) | |
getEmptyInstance () | |
filterEntriesForTable (int $object_id, ?ilBiblTableQueryInfo $info=null) | |
filterEntryIdsForTableAsArray (int $object_id, ?ilBiblTableQueryInfo $info=null) | |
deleteEntryById (int $id) | |
deleteEntriesById (int $object_id) | |
loadParsedAttributesByEntryId (int $entry_id) | |
Reads all the entrys attributes from database. More... | |
Protected Attributes | |
int | $bibliographic_obj_id |
int | $entry_id |
string | $type |
array | $attributes |
ilDBInterface | $db |
Private Member Functions | |
getARInstance (int $id) | |
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 ilBiblEntryFactory
Definition at line 23 of file class.ilBiblEntryFactory.php.
ilBiblEntryFactory::__construct | ( | protected \ilBiblFieldFactoryInterface | $field_factory, |
protected \ilBiblTypeInterface | $file_type, | ||
protected \ilBiblOverviewModelFactoryInterface | $overview_factory | ||
) |
ilBiblEntryFactory constructor.
Definition at line 37 of file class.ilBiblEntryFactory.php.
References $DIC.
ilBiblEntryFactory::createEntry | ( | int | $bibliographic_obj_id, |
string | $entry_type | ||
) |
@inheritDoc
Implements ilBiblEntryFactoryInterface.
Definition at line 98 of file class.ilBiblEntryFactory.php.
References $bibliographic_obj_id.
Referenced by findOrCreateEntry().
ilBiblEntryFactory::deleteEntriesById | ( | int | $object_id | ) |
Implements ilBiblEntryFactoryInterface.
Definition at line 187 of file class.ilBiblEntryFactory.php.
ilBiblEntryFactory::deleteEntryById | ( | int | $id | ) |
Implements ilBiblEntryFactoryInterface.
Definition at line 179 of file class.ilBiblEntryFactory.php.
References $id, and ActiveRecord\where().
ilBiblEntryFactory::filterEntriesForTable | ( | int | $object_id, |
?ilBiblTableQueryInfo | $info = null |
||
) |
Implements ilBiblEntryFactoryInterface.
Definition at line 122 of file class.ilBiblEntryFactory.php.
References $entry_id, $info, filterEntryIdsForTableAsArray(), and findByIdAndTypeString().
ilBiblEntryFactory::filterEntryIdsForTableAsArray | ( | int | $object_id, |
?ilBiblTableQueryInfo | $info = null |
||
) |
@inheritDoc
Implements ilBiblEntryFactoryInterface.
Definition at line 136 of file class.ilBiblEntryFactory.php.
Referenced by filterEntriesForTable().
ilBiblEntryFactory::findByIdAndTypeString | ( | int | $id, |
string | $type_string | ||
) |
@inheritDoc
@noinspection PhpIncompatibleReturnTypeInspection
Implements ilBiblEntryFactoryInterface.
Definition at line 73 of file class.ilBiblEntryFactory.php.
References $id, and ActiveRecord\where().
Referenced by filterEntriesForTable().
ilBiblEntryFactory::findOrCreateEntry | ( | int | $id, |
int | $bibliographic_obj_id, | ||
string | $entry_type | ||
) |
@inheritDoc
Implements ilBiblEntryFactoryInterface.
Definition at line 82 of file class.ilBiblEntryFactory.php.
References $bibliographic_obj_id, createEntry(), and getARInstance().
ilBiblEntryFactory::getAllAttributesByEntryId | ( | int | $id | ) |
Definition at line 195 of file class.ilBiblEntryFactory.php.
References $id, and ActiveRecord\where().
Referenced by loadParsedAttributesByEntryId().
|
private |
@noinspection PhpIncompatibleReturnTypeInspection
Definition at line 113 of file class.ilBiblEntryFactory.php.
References $id, and ActiveRecord\where().
Referenced by findOrCreateEntry().
ilBiblEntryFactory::getAttributes | ( | ) |
Definition at line 222 of file class.ilBiblEntryFactory.php.
References $attributes.
ilBiblEntryFactory::getEmptyInstance | ( | ) |
Implements ilBiblEntryFactoryInterface.
Definition at line 108 of file class.ilBiblEntryFactory.php.
ilBiblEntryFactory::getFileType | ( | ) |
Definition at line 200 of file class.ilBiblEntryFactory.php.
ilBiblEntryFactory::loadParsedAttributesByEntryId | ( | int | $entry_id | ) |
@inheritDoc
Implements ilBiblEntryFactoryInterface.
Definition at line 46 of file class.ilBiblEntryFactory.php.
References $attributes, $entry_id, $type, ilBiblTypeFactoryInterface\DATA_TYPE_RIS, getAllAttributesByEntryId(), and ActiveRecord\where().
ilBiblEntryFactory::setAttributes | ( | array | $attributes | ) |
ilBiblFieldInterface[] | $attributes |
Definition at line 213 of file class.ilBiblEntryFactory.php.
References $attributes.
ilBiblEntryFactory::setFileType | ( | string | $file_type | ) |
Definition at line 205 of file class.ilBiblEntryFactory.php.
|
protected |
Definition at line 30 of file class.ilBiblEntryFactory.php.
Referenced by getAttributes(), loadParsedAttributesByEntryId(), and setAttributes().
|
protected |
Definition at line 27 of file class.ilBiblEntryFactory.php.
Referenced by createEntry(), and findOrCreateEntry().
|
protected |
Definition at line 31 of file class.ilBiblEntryFactory.php.
|
protected |
Definition at line 28 of file class.ilBiblEntryFactory.php.
Referenced by filterEntriesForTable(), and loadParsedAttributesByEntryId().
|
protected |
Definition at line 29 of file class.ilBiblEntryFactory.php.
Referenced by loadParsedAttributesByEntryId().