ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
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 9 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 58 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 124 of file class.ilBiblEntryFactory.php.
References $bibliographic_obj_id.
Referenced by findOrCreateEntry().
ilBiblEntryFactory::deleteEntryById | ( | $id | ) |
int | $id |
Implements ilBiblEntryFactoryInterface.
Definition at line 221 of file class.ilBiblEntryFactory.php.
References $id, and ActiveRecord\where().
ilBiblEntryFactory::filterEntriesForTable | ( | $object_id, | |
ilBiblTableQueryInfo | $info = null |
||
) |
Implements ilBiblEntryFactoryInterface.
Definition at line 158 of file class.ilBiblEntryFactory.php.
References $entry_id, $info, filterEntryIdsForTableAsArray(), and findByIdAndTypeString().
ilBiblEntryFactory::filterEntryIdsForTableAsArray | ( | $object_id, | |
ilBiblTableQueryInfo | $info = null |
||
) |
Implements ilBiblEntryFactoryInterface.
Definition at line 173 of file class.ilBiblEntryFactory.php.
References $DIC, $i, $info, and $values.
Referenced by filterEntriesForTable().
ilBiblEntryFactory::findByIdAndTypeString | ( | $id, | |
$type_string | |||
) |
Implements ilBiblEntryFactoryInterface.
Definition at line 98 of file class.ilBiblEntryFactory.php.
References $id, and ActiveRecord\where().
Referenced by filterEntriesForTable().
ilBiblEntryFactory::findOrCreateEntry | ( | $id, | |
$bibliographic_obj_id, | |||
$entry_type | |||
) |
Implements ilBiblEntryFactoryInterface.
Definition at line 107 of file class.ilBiblEntryFactory.php.
References $bibliographic_obj_id, $id, createEntry(), and getARInstance().
ilBiblEntryFactory::getAllAttributesByEntryId | ( | $id | ) |
Definition at line 242 of file class.ilBiblEntryFactory.php.
References $id, and ActiveRecord\where().
Referenced by loadParsedAttributesByEntryId().
ilBiblEntryFactory::getAllEntries | ( | $object_id | ) |
Read all entries from the database.
int | $object_id |
Implements ilBiblEntryFactoryInterface.
Definition at line 230 of file class.ilBiblEntryFactory.php.
References ActiveRecord\where().
|
private |
int | $id |
Definition at line 149 of file class.ilBiblEntryFactory.php.
References $id, and ActiveRecord\where().
Referenced by findOrCreateEntry().
ilBiblEntryFactory::getAttributes | ( | ) |
(Statt Array Objekte verwenden)
Definition at line 278 of file class.ilBiblEntryFactory.php.
References $attributes.
ilBiblEntryFactory::getEmptyInstance | ( | ) |
Implements ilBiblEntryFactoryInterface.
Definition at line 138 of file class.ilBiblEntryFactory.php.
ilBiblEntryFactory::getEntryById | ( | $id | ) |
Get entry from the database.
int | $object_id |
Implements ilBiblEntryFactoryInterface.
Definition at line 236 of file class.ilBiblEntryFactory.php.
References $id, and ActiveRecord\where().
ilBiblEntryFactory::getFileType | ( | ) |
ilBiblEntryFactory::loadParsedAttributesByEntryId | ( | $entry_id | ) |
Implements ilBiblEntryFactoryInterface.
Definition at line 69 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 268 of file class.ilBiblEntryFactory.php.
References $attributes.
ilBiblEntryFactory::setFileType | ( | $file_type | ) |
string | $file_type |
Definition at line 259 of file class.ilBiblEntryFactory.php.
References $file_type.
|
protected |
Definition at line 35 of file class.ilBiblEntryFactory.php.
Referenced by getAttributes(), loadParsedAttributesByEntryId(), and setAttributes().
|
protected |
Definition at line 17 of file class.ilBiblEntryFactory.php.
Referenced by createEntry(), and findOrCreateEntry().
|
protected |
Definition at line 23 of file class.ilBiblEntryFactory.php.
Referenced by filterEntriesForTable(), and loadParsedAttributesByEntryId().
|
protected |
Definition at line 45 of file class.ilBiblEntryFactory.php.
Referenced by __construct().
|
protected |
Definition at line 41 of file class.ilBiblEntryFactory.php.
Referenced by __construct(), getFileType(), and setFileType().
|
protected |
Definition at line 49 of file class.ilBiblEntryFactory.php.
Referenced by __construct().
|
protected |
Definition at line 29 of file class.ilBiblEntryFactory.php.
Referenced by loadParsedAttributesByEntryId().