ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Class ilBiblFieldFactory. More...
Protected Attributes | |
$type | |
Private Member Functions | |
getNextFreePosition (ilBiblFieldInterface $field) | |
getARInstance ($type, $identifier) | |
checkType ($type) | |
getCollectionForFilter (ilBiblTypeInterface $type, ilBiblTableQueryInfoInterface $queryInfo=null) | |
Class ilBiblFieldFactory.
Definition at line 8 of file class.ilBiblFieldFactory.php.
ilBiblFieldFactory::__construct | ( | \ilBiblTypeInterface | $type | ) |
ilBiblFieldFactory constructor.
\ilBiblTypeInterface | $type |
Definition at line 22 of file class.ilBiblFieldFactory.php.
References $type.
|
private |
$type |
Definition at line 220 of file class.ilBiblFieldFactory.php.
References $type, ilBiblTypeFactoryInterface\DATA_TYPE_BIBTEX, and ilBiblTypeFactoryInterface\DATA_TYPE_RIS.
Referenced by findOrCreateFieldByTypeAndIdentifier(), and getFieldByTypeAndIdentifier().
ilBiblFieldFactory::filterAllFieldsForType | ( | ilBiblTypeInterface | $type, |
ilBiblTableQueryInfoInterface | $queryInfo = null |
||
) |
Implements ilBiblFieldFactoryInterface.
Definition at line 119 of file class.ilBiblFieldFactory.php.
References getCollectionForFilter().
ilBiblFieldFactory::filterAllFieldsForTypeAsArray | ( | ilBiblTypeInterface | $type, |
ilBiblTableQueryInfoInterface | $queryInfo = null |
||
) |
Implements ilBiblFieldFactoryInterface.
Definition at line 128 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 |
string | $identifier |
Implements ilBiblFieldFactoryInterface.
Definition at line 73 of file class.ilBiblFieldFactory.php.
References checkType(), getARInstance(), and getType().
Referenced by getAvailableFieldsForObjId().
ilBiblFieldFactory::findOrCreateFieldOfAttribute | ( | ilBiblAttributeInterface | $attribute | ) |
Implements ilBiblFieldFactoryInterface.
Definition at line 137 of file class.ilBiblFieldFactory.php.
References ilBiblAttributeInterface\getName(), and ActiveRecord\where().
ilBiblFieldFactory::forcePosition | ( | ilBiblFieldInterface | $field | ) |
Implements ilBiblFieldFactoryInterface.
Definition at line 158 of file class.ilBiblFieldFactory.php.
References $DIC, ilBiblFieldInterface\getDataType(), ilBiblFieldInterface\getPosition(), ilBiblFieldInterface\store(), and ilBiblField\TABLE_NAME.
|
private |
int | $type | |
string | $identifier |
Definition at line 209 of file class.ilBiblFieldFactory.php.
References $type, and ActiveRecord\where().
Referenced by findOrCreateFieldByTypeAndIdentifier(), and getFieldByTypeAndIdentifier().
ilBiblFieldFactory::getAvailableFieldsForObjId | ( | int | $obj_id | ) |
Implements ilBiblFieldFactoryInterface.
Definition at line 96 of file class.ilBiblFieldFactory.php.
References $d, $data, $DIC, $result, and findOrCreateFieldByTypeAndIdentifier().
|
private |
\ilBiblTypeInterface | $type | |
\ilBiblTableQueryInfoInterface | $queryInfo |
Definition at line 238 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 |
string | $identifier |
Implements ilBiblFieldFactoryInterface.
Definition at line 58 of file class.ilBiblFieldFactory.php.
References checkType(), and getARInstance().
|
private |
ilBiblFieldInterface | $field |
Definition at line 191 of file class.ilBiblFieldFactory.php.
References $data, $DIC, $res, ilBiblFieldInterface\getDataType(), and ilBiblField\TABLE_NAME.
ilBiblFieldFactory::getType | ( | ) |
Implements ilBiblFieldFactoryInterface.
Definition at line 31 of file class.ilBiblFieldFactory.php.
References $id, $type, ilBiblFieldFactoryInterface\findById(), and ActiveRecord\findOrFail().
Referenced by findOrCreateFieldByTypeAndIdentifier().
|
protected |
Definition at line 14 of file class.ilBiblFieldFactory.php.
Referenced by __construct(), checkType(), getARInstance(), and getType().