PFModelingItemsCache Methods |
The PFModelingItemsCache type exposes the following members.
Name | Description | |
---|---|---|
GetItem |
Loads the item corresponding to the specified model item from the database.
| |
GetItemModelGuid |
Gets a item model GUID corresponding to the specified item.
Using the cache, avoids querying the database.
| |
GetItemReference(PFSite, Int64, Int64, Guid, String, Guid) |
Gets an item reference from the modeling items cache.
| |
GetItemReference(PFSite, String, String, Guid, String, Guid) |
Gets an item reference from the modeling items cache.
| |
GetTranslation(Guid, PFField, String) |
Gets the translation of a given modeling item's field from the modeling items cache.
| |
GetTranslation(PFItem, String, String) |
Gets the translation of a given item's field from the modeling items cache.
| |
GetTranslation(PFSite, Guid, String, String, String, String) |
Gets the translation of a given modeling item's field from the modeling items cache.
| |
GetValue |
Gets an item's value. Note: loads the item corresponding to the specified model item from the database.
| |
UpdateChoicesTexts |
Updates the text (display text) of all item references in a choice value from the modeling items cache.
Only available for choice fields targeting a content-type with items synchronized with the model.
| |
UpdateItemTranslations |
Updates the text values of an item from the modeling items cache to the specified language.
The specified item has to have an equivalent item in the model.
| |
UpdateReferenceText |
Updates the text of an item reference from the modeling items cache.
Only possible if the referenced item is synchronized with the model.
|