ILIAS
trunk Revision v11.0_alpha-1866-gfa368f7776e
|
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 \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) | ||||||
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 | ( | protected \ilBiblTypeInterface | $type | ) |
ilBiblFieldFactory constructor.
Definition at line 29 of file class.ilBiblFieldFactory.php.
ilBiblFieldFactory::filterAllFieldsForType | ( | ilBiblTypeInterface | $type, |
?ilBiblTableQueryInfoInterface | $queryInfo = null |
||
) |
Implements ilBiblFieldFactoryInterface.
Definition at line 124 of file class.ilBiblFieldFactory.php.
References getCollectionForFilter().
ilBiblFieldFactory::filterAllFieldsForTypeAsArray | ( | ilBiblTypeInterface | $type, |
?ilBiblTableQueryInfoInterface | $queryInfo = null |
||
) |
Implements ilBiblFieldFactoryInterface.
Definition at line 133 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 79 of file class.ilBiblFieldFactory.php.
References getARInstance(), getType(), and null.
Referenced by getAvailableFieldsForObjId().
ilBiblFieldFactory::findOrCreateFieldOfAttribute | ( | ilBiblAttributeInterface | $attribute | ) |
Implements ilBiblFieldFactoryInterface.
Definition at line 142 of file class.ilBiblFieldFactory.php.
References ilBiblAttributeInterface\getName(), null, and ActiveRecord\where().
ilBiblFieldFactory::forcePosition | ( | ilBiblFieldInterface | $field | ) |
Implements ilBiblFieldFactoryInterface.
Definition at line 163 of file class.ilBiblFieldFactory.php.
References $DIC, $q, ilBiblFieldInterface\getDataType(), ilBiblFieldInterface\getPosition(), ilBiblFieldInterface\store(), and ilBiblField\TABLE_NAME.
|
private |
Definition at line 209 of file class.ilBiblFieldFactory.php.
References ActiveRecord\where().
Referenced by findOrCreateFieldByTypeAndIdentifier(), and getFieldByTypeAndIdentifier().
ilBiblFieldFactory::getAvailableFieldsForObjId | ( | int | $obj_id | ) |
Implements ilBiblFieldFactoryInterface.
Definition at line 101 of file class.ilBiblFieldFactory.php.
References Vendor\Package\$d, $data, $DIC, and findOrCreateFieldByTypeAndIdentifier().
|
private |
Definition at line 215 of file class.ilBiblFieldFactory.php.
References ActiveRecord\getCollection(), ilBiblTypeInterface\getId(), and null.
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 64 of file class.ilBiblFieldFactory.php.
References getARInstance(), and null.
|
private |
ilBiblFieldInterface | $field |
Definition at line 197 of file class.ilBiblFieldFactory.php.
References $data, $DIC, $q, $res, ilBiblFieldInterface\getDataType(), and ilBiblField\TABLE_NAME.
ilBiblFieldFactory::getType | ( | ) |
Implements ilBiblFieldFactoryInterface.
Definition at line 37 of file class.ilBiblFieldFactory.php.
References $id, ilBiblFieldFactoryInterface\findById(), and ActiveRecord\findOrFail().
Referenced by findOrCreateFieldByTypeAndIdentifier().