ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Class ilBiblEntryFactory. More...
Public Member Functions | |
__construct (ilBiblFieldFactoryInterface $field_factory, \ilBiblTypeInterface $file_type, ilBiblOverviewModelFactoryInterface $overview_factory) | |
ilBiblEntryFactory constructor. More... | |
loadParsedAttributesByEntryId ($entry_id) | |
findByIdAndTypeString ($id, $type_string) | |
findOrCreateEntry ($id, $bibliographic_obj_id, $entry_type) | |
createEntry ($bibliographic_obj_id, $entry_type) | |
getEmptyInstance () | |
filterEntriesForTable ($object_id, ilBiblTableQueryInfo $info=null) | |
filterEntryIdsForTableAsArray ($object_id, ilBiblTableQueryInfo $info=null) | |
deleteEntryById ($id) | |
getAllEntries ($object_id) | |
Read all entries from the database. More... | |
getEntryById ($id) | |
Get entry from the database. More... | |
getAllAttributesByEntryId ($id) | |
getFileType () | |
setFileType ($file_type) | |
setAttributes ($attributes) | |
getAttributes () | |
Protected Attributes | |
$bibliographic_obj_id | |
$entry_id | |
$type | |
$attributes | |
$file_type | |
$field_factory | |
$overview_factory | |
Private Member Functions | |
getARInstance ($id) | |
Class ilBiblEntryFactory.
Definition at line 25 of file class.ilBiblEntryFactory.php.
ilBiblEntryFactory::__construct | ( | ilBiblFieldFactoryInterface | $field_factory, |
\ilBiblTypeInterface | $file_type, | ||
ilBiblOverviewModelFactoryInterface | $overview_factory | ||
) |
ilBiblEntryFactory constructor.
ilBiblFieldFactoryInterface | $field_factory | |
ilBiblTypeInterface | $file_type |
Definition at line 74 of file class.ilBiblEntryFactory.php.
References $field_factory, $file_type, and $overview_factory.
ilBiblEntryFactory::createEntry | ( | $bibliographic_obj_id, | |
$entry_type | |||
) |
Implements ilBiblEntryFactoryInterface.
Definition at line 145 of file class.ilBiblEntryFactory.php.
References $bibliographic_obj_id.
Referenced by findOrCreateEntry().
ilBiblEntryFactory::deleteEntryById | ( | $id | ) |
int | $id |
Implements ilBiblEntryFactoryInterface.
Definition at line 242 of file class.ilBiblEntryFactory.php.
References ActiveRecord\where().
ilBiblEntryFactory::filterEntriesForTable | ( | $object_id, | |
ilBiblTableQueryInfo | $info = null |
||
) |
Implements ilBiblEntryFactoryInterface.
Definition at line 179 of file class.ilBiblEntryFactory.php.
References $entry_id, filterEntryIdsForTableAsArray(), and findByIdAndTypeString().
ilBiblEntryFactory::filterEntryIdsForTableAsArray | ( | $object_id, | |
ilBiblTableQueryInfo | $info = null |
||
) |
Implements ilBiblEntryFactoryInterface.
Definition at line 194 of file class.ilBiblEntryFactory.php.
Referenced by filterEntriesForTable().
ilBiblEntryFactory::findByIdAndTypeString | ( | $id, | |
$type_string | |||
) |
Implements ilBiblEntryFactoryInterface.
Definition at line 119 of file class.ilBiblEntryFactory.php.
References ActiveRecord\where().
Referenced by filterEntriesForTable().
ilBiblEntryFactory::findOrCreateEntry | ( | $id, | |
$bibliographic_obj_id, | |||
$entry_type | |||
) |
Implements ilBiblEntryFactoryInterface.
Definition at line 128 of file class.ilBiblEntryFactory.php.
References $bibliographic_obj_id, createEntry(), and getARInstance().
ilBiblEntryFactory::getAllAttributesByEntryId | ( | $id | ) |
Definition at line 263 of file class.ilBiblEntryFactory.php.
References ActiveRecord\where().
Referenced by loadParsedAttributesByEntryId().
ilBiblEntryFactory::getAllEntries | ( | $object_id | ) |
Read all entries from the database.
int | $object_id |
Implements ilBiblEntryFactoryInterface.
Definition at line 251 of file class.ilBiblEntryFactory.php.
References ActiveRecord\where().
|
private |
int | $id |
Definition at line 170 of file class.ilBiblEntryFactory.php.
References ActiveRecord\where().
Referenced by findOrCreateEntry().
ilBiblEntryFactory::getAttributes | ( | ) |
Definition at line 300 of file class.ilBiblEntryFactory.php.
References $attributes.
ilBiblEntryFactory::getEmptyInstance | ( | ) |
Implements ilBiblEntryFactoryInterface.
Definition at line 159 of file class.ilBiblEntryFactory.php.
ilBiblEntryFactory::getEntryById | ( | $id | ) |
Get entry from the database.
int | $object_id |
Implements ilBiblEntryFactoryInterface.
Definition at line 257 of file class.ilBiblEntryFactory.php.
References ActiveRecord\where().
ilBiblEntryFactory::getFileType | ( | ) |
ilBiblEntryFactory::loadParsedAttributesByEntryId | ( | $entry_id | ) |
Implements ilBiblEntryFactoryInterface.
Definition at line 86 of file class.ilBiblEntryFactory.php.
References $attributes, $entry_id, $type, ilBiblTypeFactoryInterface\DATA_TYPE_RIS, getAllAttributesByEntryId(), and ActiveRecord\where().
ilBiblEntryFactory::setAttributes | ( | $attributes | ) |
$attributes | ilBiblFieldInterface[] |
Definition at line 290 of file class.ilBiblEntryFactory.php.
References $attributes.
ilBiblEntryFactory::setFileType | ( | $file_type | ) |
string | $file_type |
Definition at line 281 of file class.ilBiblEntryFactory.php.
References $file_type.
|
protected |
Definition at line 51 of file class.ilBiblEntryFactory.php.
Referenced by getAttributes(), loadParsedAttributesByEntryId(), and setAttributes().
|
protected |
Definition at line 33 of file class.ilBiblEntryFactory.php.
Referenced by createEntry(), and findOrCreateEntry().
|
protected |
Definition at line 39 of file class.ilBiblEntryFactory.php.
Referenced by filterEntriesForTable(), and loadParsedAttributesByEntryId().
|
protected |
Definition at line 61 of file class.ilBiblEntryFactory.php.
Referenced by __construct().
|
protected |
Definition at line 57 of file class.ilBiblEntryFactory.php.
Referenced by __construct(), getFileType(), and setFileType().
|
protected |
Definition at line 65 of file class.ilBiblEntryFactory.php.
Referenced by __construct().
|
protected |
Definition at line 45 of file class.ilBiblEntryFactory.php.
Referenced by loadParsedAttributesByEntryId().