ILIAS
release_8 Revision v8.19-1-g4e8f2f9140c
|
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 (\ilBiblTypeInterface $type) | ||||||
ilBiblFieldFactory constructor. More... | ||||||
getType () | ||||||
getFieldByTypeAndIdentifier (int $type, string $identifier) | ||||||
| ||||||
findOrCreateFieldByTypeAndIdentifier (int $type, string $identifier) | ||||||
| ||||||
getAvailableFieldsForObjId (int $obj_id) | ||||||
filterAllFieldsForType (ilBiblTypeInterface $type, ilBiblTableQueryInfoInterface $queryInfo=null) | ||||||
filterAllFieldsForTypeAsArray (ilBiblTypeInterface $type, ilBiblTableQueryInfoInterface $queryInfo=null) | ||||||
findOrCreateFieldOfAttribute (ilBiblAttributeInterface $attribute) | ||||||
forcePosition (ilBiblFieldInterface $field) | ||||||
![]() | ||||||
findById (int $id) | ||||||
Protected Attributes | |
ilBiblTypeInterface | $type |
Private Member Functions | |
getNextFreePosition (ilBiblFieldInterface $field) | |
getARInstance (int $type, string $identifier) | |
getCollectionForFilter (ilBiblTypeInterface $type, ilBiblTableQueryInfoInterface $queryInfo=null) | |
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 ilBiblFieldFactory
Definition at line 24 of file class.ilBiblFieldFactory.php.
ilBiblFieldFactory::__construct | ( | \ilBiblTypeInterface | $type | ) |
ilBiblFieldFactory constructor.
Definition at line 32 of file class.ilBiblFieldFactory.php.
References $type.
ilBiblFieldFactory::filterAllFieldsForType | ( | ilBiblTypeInterface | $type, |
ilBiblTableQueryInfoInterface | $queryInfo = null |
||
) |
Implements ilBiblFieldFactoryInterface.
Definition at line 128 of file class.ilBiblFieldFactory.php.
References getCollectionForFilter().
ilBiblFieldFactory::filterAllFieldsForTypeAsArray | ( | ilBiblTypeInterface | $type, |
ilBiblTableQueryInfoInterface | $queryInfo = null |
||
) |
Implements ilBiblFieldFactoryInterface.
Definition at line 137 of file class.ilBiblFieldFactory.php.
References getCollectionForFilter().
ilBiblFieldFactory::findOrCreateFieldByTypeAndIdentifier | ( | int | $type, |
string | $identifier | ||
) |
int | $type | MUST be ilBiblTypeFactoryInterface::DATA_TYPE_RIS or ilBiblTypeFactoryInterface::DATA_TYPE_BIBTEX |
Implements ilBiblFieldFactoryInterface.
Definition at line 83 of file class.ilBiblFieldFactory.php.
References getARInstance(), and getType().
Referenced by getAvailableFieldsForObjId().
ilBiblFieldFactory::findOrCreateFieldOfAttribute | ( | ilBiblAttributeInterface | $attribute | ) |
Implements ilBiblFieldFactoryInterface.
Definition at line 146 of file class.ilBiblFieldFactory.php.
References ilBiblAttributeInterface\getName(), and ActiveRecord\where().
ilBiblFieldFactory::forcePosition | ( | ilBiblFieldInterface | $field | ) |
Implements ilBiblFieldFactoryInterface.
Definition at line 167 of file class.ilBiblFieldFactory.php.
References $DIC, ilBiblFieldInterface\getDataType(), ilBiblFieldInterface\getPosition(), ilBiblFieldInterface\store(), and ilBiblField\TABLE_NAME.
|
private |
Definition at line 213 of file class.ilBiblFieldFactory.php.
References ActiveRecord\where().
Referenced by findOrCreateFieldByTypeAndIdentifier(), and getFieldByTypeAndIdentifier().
ilBiblFieldFactory::getAvailableFieldsForObjId | ( | int | $obj_id | ) |
Implements ilBiblFieldFactoryInterface.
Definition at line 105 of file class.ilBiblFieldFactory.php.
References $d, $data, $DIC, and findOrCreateFieldByTypeAndIdentifier().
|
private |
Definition at line 219 of file class.ilBiblFieldFactory.php.
References ActiveRecord\getCollection(), and ilBiblTypeInterface\getId().
Referenced by filterAllFieldsForType(), and filterAllFieldsForTypeAsArray().
ilBiblFieldFactory::getFieldByTypeAndIdentifier | ( | int | $type, |
string | $identifier | ||
) |
int | $type | MUST be ilBiblTypeFactoryInterface::DATA_TYPE_RIS or ilBiblTypeFactoryInterface::DATA_TYPE_BIBTEX |
PhpIncompatibleReturnTypeInspection
Implements ilBiblFieldFactoryInterface.
Definition at line 68 of file class.ilBiblFieldFactory.php.
References getARInstance().
|
private |
ilBiblFieldInterface | $field |
Definition at line 201 of file class.ilBiblFieldFactory.php.
References $data, $DIC, $res, ilBiblFieldInterface\getDataType(), and ilBiblField\TABLE_NAME.
ilBiblFieldFactory::getType | ( | ) |
Implements ilBiblFieldFactoryInterface.
Definition at line 41 of file class.ilBiblFieldFactory.php.
References $id, $type, ilBiblFieldFactoryInterface\findById(), and ActiveRecord\findOrFail().
Referenced by findOrCreateFieldByTypeAndIdentifier().
|
protected |
Definition at line 26 of file class.ilBiblFieldFactory.php.
Referenced by __construct(), and getType().