Api_ItemType¶
Package: Record\Api
- class Api_ItemType¶
extends Omeka_Record_Api_AbstractRecordAdapter
- Api_ItemType::getRepresentation(Omeka_Record_AbstractRecord $record)¶
Get the REST API representation for an item type.
Parameters:
- $record (Omeka_Record_AbstractRecord) –
Returns: array
- Api_ItemType::setPostData(Omeka_Record_AbstractRecord $record, $data)¶
Set POST data to an item type.
Parameters:
- $record (Omeka_Record_AbstractRecord) –
- $data (ItemType) –
- Api_ItemType::setPutData(Omeka_Record_AbstractRecord $record, $data)¶
Set PUT data to an item type.
Parameters:
- $record (Omeka_Record_AbstractRecord) –
- $data (ItemType) –