Click or drag to resize

PFModelingItemsCache Methods

The PFModelingItemsCache type exposes the following members.

Methods
  NameDescription
Public methodStatic memberGetItem
Loads the item corresponding to the specified model item from the database.
Public methodStatic memberGetItemModelGuid
Gets a item model GUID corresponding to the specified item. Using the cache, avoids querying the database.
Public methodStatic memberGetItemReference(PFSite, Int64, Int64, Guid, String, Guid)
Gets an item reference from the modeling items cache.
Public methodStatic memberGetItemReference(PFSite, String, String, Guid, String, Guid)
Gets an item reference from the modeling items cache.
Public methodStatic memberGetTranslation(Guid, PFField, String)
Gets the translation of a given modeling item's field from the modeling items cache.
Public methodStatic memberGetTranslation(PFItem, String, String)
Gets the translation of a given item's field from the modeling items cache.
Public methodStatic memberGetTranslation(PFSite, Guid, String, String, String, String)
Gets the translation of a given modeling item's field from the modeling items cache.
Public methodStatic memberGetValue
Gets an item's value. Note: loads the item corresponding to the specified model item from the database.
Public methodStatic memberUpdateChoicesTexts
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.
Public methodStatic memberUpdateItemTranslations
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.
Public methodStatic memberUpdateReferenceText
Updates the text of an item reference from the modeling items cache. Only possible if the referenced item is synchronized with the model.
Top
See Also