ILIAS
trunk Revision v11.0_alpha-1769-g99a433fe2dc
|
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) | |
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) | |
getAllAttributesByEntryId (int $id) | |
getFileType () | |
setFileType (string $file_type) | |
setAttributes (array $attributes) | |
getAttributes () | |
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 22 of file class.ilBiblEntryFactory.php.
ilBiblEntryFactory::__construct | ( | protected \ilBiblFieldFactoryInterface | $field_factory, |
protected \ilBiblTypeInterface | $file_type, | ||
protected \ilBiblOverviewModelFactoryInterface | $overview_factory | ||
) |
ilBiblEntryFactory constructor.
Definition at line 36 of file class.ilBiblEntryFactory.php.
References $DIC.
ilBiblEntryFactory::createEntry | ( | int | $bibliographic_obj_id, |
string | $entry_type | ||
) |
Implements ilBiblEntryFactoryInterface.
Definition at line 97 of file class.ilBiblEntryFactory.php.
Referenced by findOrCreateEntry().
ilBiblEntryFactory::deleteEntriesById | ( | int | $object_id | ) |
Implements ilBiblEntryFactoryInterface.
Definition at line 186 of file class.ilBiblEntryFactory.php.
ilBiblEntryFactory::deleteEntryById | ( | int | $id | ) |
Implements ilBiblEntryFactoryInterface.
Definition at line 178 of file class.ilBiblEntryFactory.php.
References ActiveRecord\where().
ilBiblEntryFactory::filterEntriesForTable | ( | int | $object_id, |
?ilBiblTableQueryInfo | $info = null |
||
) |
Implements ilBiblEntryFactoryInterface.
Definition at line 121 of file class.ilBiblEntryFactory.php.
References $entry_id, filterEntryIdsForTableAsArray(), and findByIdAndTypeString().
ilBiblEntryFactory::filterEntryIdsForTableAsArray | ( | int | $object_id, |
?ilBiblTableQueryInfo | $info = null |
||
) |
Implements ilBiblEntryFactoryInterface.
Definition at line 135 of file class.ilBiblEntryFactory.php.
References $q.
Referenced by filterEntriesForTable().
ilBiblEntryFactory::findByIdAndTypeString | ( | int | $id, |
string | $type_string | ||
) |
PhpIncompatibleReturnTypeInspection
Implements ilBiblEntryFactoryInterface.
Definition at line 72 of file class.ilBiblEntryFactory.php.
References ActiveRecord\where().
Referenced by filterEntriesForTable().
ilBiblEntryFactory::findOrCreateEntry | ( | int | $id, |
int | $bibliographic_obj_id, | ||
string | $entry_type | ||
) |
Implements ilBiblEntryFactoryInterface.
Definition at line 81 of file class.ilBiblEntryFactory.php.
References createEntry(), getARInstance(), and null.
ilBiblEntryFactory::getAllAttributesByEntryId | ( | int | $id | ) |
Definition at line 194 of file class.ilBiblEntryFactory.php.
References ActiveRecord\where().
Referenced by loadParsedAttributesByEntryId().
|
private |
PhpIncompatibleReturnTypeInspection
Definition at line 112 of file class.ilBiblEntryFactory.php.
References ActiveRecord\where().
Referenced by findOrCreateEntry().
ilBiblEntryFactory::getAttributes | ( | ) |
Definition at line 221 of file class.ilBiblEntryFactory.php.
References $attributes.
ilBiblEntryFactory::getEmptyInstance | ( | ) |
Implements ilBiblEntryFactoryInterface.
Definition at line 107 of file class.ilBiblEntryFactory.php.
ilBiblEntryFactory::getFileType | ( | ) |
Definition at line 199 of file class.ilBiblEntryFactory.php.
ilBiblEntryFactory::loadParsedAttributesByEntryId | ( | int | $entry_id | ) |
Implements ilBiblEntryFactoryInterface.
Definition at line 45 of file class.ilBiblEntryFactory.php.
References ilBiblTypeFactoryInterface\DATA_TYPE_RIS, getAllAttributesByEntryId(), and ActiveRecord\where().
ilBiblEntryFactory::setAttributes | ( | array | $attributes | ) |
ilBiblFieldInterface[] | $attributes |
Definition at line 212 of file class.ilBiblEntryFactory.php.
References $attributes.
ilBiblEntryFactory::setFileType | ( | string | $file_type | ) |
Definition at line 204 of file class.ilBiblEntryFactory.php.
|
protected |
Definition at line 29 of file class.ilBiblEntryFactory.php.
Referenced by getAttributes(), and setAttributes().
|
protected |
Definition at line 26 of file class.ilBiblEntryFactory.php.
|
protected |
Definition at line 30 of file class.ilBiblEntryFactory.php.
|
protected |
Definition at line 27 of file class.ilBiblEntryFactory.php.
Referenced by filterEntriesForTable().
|
protected |
Definition at line 28 of file class.ilBiblEntryFactory.php.