Difference between revisions of "CEData 1 0"
From ADF Docs
(2 intermediate revisions by the same user not shown) | |||
Line 16: | Line 16: | ||
== Functions == | == Functions == | ||
<div id='library-api'> | <div id='library-api'> | ||
− | : | + | :[[CEData_1_0-arrayOfCEDataSort|arrayOfCEDataSort]] ( array aOfS, string key, string sortOrder, string sortType, string delim ) |
− | : | + | :[[CEData_1_0-buildElementInfoStruct|buildElementInfoStruct]] ( array ceData ) |
− | ::Builds an ElementInfo structure given a ceData array: | + | ::Builds an ElementInfo structure given a ceData array |
− | : | + | :[[CEData_1_0-compareCEDataArray|compareCEDataArray]] ( array array1, array array2 ) |
− | : | + | :[[CEData_1_0-containsFieldType|containsFieldType]] ( numeric FormID, string fieldType ) |
− | : | + | :[[CEData_1_0-defaultFieldStruct|defaultFieldStruct]] ( string ceName ) |
− | ::Delete the Custom Element records from the data_fieldvalue table given a Custom Element name: | + | :[[CEData_1_0-deleteByElementName|deleteByElementName]] ( string ceName ) |
− | : | + | ::Delete the Custom Element records from the data_fieldvalue table given a Custom Element name |
− | : | + | :[[CEData_1_0-deleteCacheInstances|deleteCacheInstances]] ( string ceName ) |
− | : | + | :[[CEData_1_0-deleteCE|deleteCE]] ( string datapageidList ) |
− | ::Determines whether or not an element exists: | + | :[[CEData_1_0-diffCEDataArray|diffCEDataArray]] ( array array1, array array2 ) |
− | ::Returns all the Custom Elements for the site.: | + | :[[CEData_1_0-elementExists|elementExists]] ( string elementName ) |
− | ::Returns array of structs for all data matching the Custom Element.: | + | ::Determines whether or not an element exists |
− | ::Returns Custom Element Data records for a given FieldID: | + | :[[CEData_1_0-getAllCustomElements|getAllCustomElements]] ( ) |
− | ::Returns the single field data value for the custom element record.: | + | ::Returns all the Custom Elements for the site. |
− | ::Returns the single field data value by the custom element UUID data value.: | + | :[[CEData_1_0-getCEData|getCEData]] ( string customElementName, string customElementFieldName, any item, string queryType, string searchValues, string searchFields ) |
− | ::Returns all values for a particular field in a particular custom element.: | + | ::Returns array of structs for all data matching the Custom Element. |
− | ::Returns a query of the CE's name and form ID that are in the Category argument.: | + | :[[CEData_1_0-getCEDataByFieldID|getCEDataByFieldID]] ( numeric fieldID ) |
− | : | + | ::Returns Custom Element Data records for a given FieldID |
− | : | + | :[[CEData_1_0-getCEDataField|getCEDataField]] ( numeric formid, numeric datapageid, string fieldName ) |
− | : | + | ::Returns the single field data value for the custom element record. |
− | : | + | :[[CEData_1_0-getCEDataFieldUUID|getCEDataFieldUUID]] ( numeric formid, string uuid, string fieldName ) |
− | : | + | ::Returns the single field data value by the custom element UUID data value. |
− | : | + | :[[CEData_1_0-getCEFieldValues|getCEFieldValues]] ( string ceName, string fieldName ) |
− | : | + | ::Returns all values for a particular field in a particular custom element. |
− | : | + | :[[CEData_1_0-getCEForCategory|getCEForCategory]] ( string categoryName ) |
− | ::Returns a list of fieldID's for a given Field Type: | + | ::Returns a query of the CE's name and form ID that are in the Category argument. |
− | : | + | :[[CEData_1_0-getCENameByFormID|getCENameByFormID]] ( numeric FormID ) |
− | ::Returns the Form ID for the Page ID.: | + | :[[CEData_1_0-getCountForElementField|getCountForElementField]] ( string ceName, string fieldName, any fieldValue ) |
− | ::Returns Page ID Query in Data_FieldValue matching Form ID: | + | :[[CEData_1_0-getDataFieldValueByPageID|getDataFieldValueByPageID]] ( Numeric pageid, Numeric formid, boolean currentVersionFlag, numeric versionID ) |
− | : | + | :[[CEData_1_0-getElementFieldID|getElementFieldID]] ( numeric CEFormID, string CEFieldName ) |
+ | :[[CEData_1_0-getElementFieldsByFormID|getElementFieldsByFormID]] ( Numeric formid ) | ||
+ | :[[CEData_1_0-getElementInfoByPageID|getElementInfoByPageID]] ( Numeric pageid, Numeric formid, boolean separateValueStruct ) | ||
+ | :[[CEData_1_0-getElementInfoVersionsByPageID|getElementInfoVersionsByPageID]] ( Numeric pageid, Numeric formid, Numeric versionID ) | ||
+ | :[[CEData_1_0-getElementVersionsForPageID|getElementVersionsForPageID]] ( Numeric pageid, Numeric formid ) | ||
+ | :[[CEData_1_0-getFieldIdsByType|getFieldIdsByType]] ( string fieldType ) | ||
+ | ::Returns a list of fieldID's for a given Field Type | ||
+ | :[[CEData_1_0-getFormIDByCEName|getFormIDByCEName]] ( string CEName ) | ||
+ | :[[CEData_1_0-getFormIDFromPageID|getFormIDFromPageID]] ( Numeric pageid ) | ||
+ | ::Returns the Form ID for the Page ID. | ||
+ | :[[CEData_1_0-getPageIDForElement|getPageIDForElement]] ( numeric formid, string fieldid, any item, string queryType, string searchValues, string searchFields ) | ||
+ | ::Returns Page ID Query in Data_FieldValue matching Form ID | ||
+ | :[[CEData_1_0-invalidateElementCache|invalidateElementCache]] ( numeric pageID, numeric controlID ) | ||
+ | :[[CEData_1_0-sortArrayByIDList|sortArrayByIDList]] ( array arrayOfStructs, string idFieldName, string idList ) | ||
</div> | </div> |
Latest revision as of 20:19, 8 April 2010
Attention: Do not change any text in the description, properties, and functions sections.
Return to Library (API)
Description
Custom Element Data functions for the ADF Library
Properties
- dependency = csSecurity_1_0
- version = 1_0_0
- wikiTitle = CEData_1_0
- type = singleton
Functions
- arrayOfCEDataSort ( array aOfS, string key, string sortOrder, string sortType, string delim )
- buildElementInfoStruct ( array ceData )
- Builds an ElementInfo structure given a ceData array
- compareCEDataArray ( array array1, array array2 )
- containsFieldType ( numeric FormID, string fieldType )
- defaultFieldStruct ( string ceName )
- deleteByElementName ( string ceName )
- Delete the Custom Element records from the data_fieldvalue table given a Custom Element name
- deleteCacheInstances ( string ceName )
- deleteCE ( string datapageidList )
- diffCEDataArray ( array array1, array array2 )
- elementExists ( string elementName )
- Determines whether or not an element exists
- getAllCustomElements ( )
- Returns all the Custom Elements for the site.
- getCEData ( string customElementName, string customElementFieldName, any item, string queryType, string searchValues, string searchFields )
- Returns array of structs for all data matching the Custom Element.
- getCEDataByFieldID ( numeric fieldID )
- Returns Custom Element Data records for a given FieldID
- getCEDataField ( numeric formid, numeric datapageid, string fieldName )
- Returns the single field data value for the custom element record.
- getCEDataFieldUUID ( numeric formid, string uuid, string fieldName )
- Returns the single field data value by the custom element UUID data value.
- getCEFieldValues ( string ceName, string fieldName )
- Returns all values for a particular field in a particular custom element.
- getCEForCategory ( string categoryName )
- Returns a query of the CE's name and form ID that are in the Category argument.
- getCENameByFormID ( numeric FormID )
- getCountForElementField ( string ceName, string fieldName, any fieldValue )
- getDataFieldValueByPageID ( Numeric pageid, Numeric formid, boolean currentVersionFlag, numeric versionID )
- getElementFieldID ( numeric CEFormID, string CEFieldName )
- getElementFieldsByFormID ( Numeric formid )
- getElementInfoByPageID ( Numeric pageid, Numeric formid, boolean separateValueStruct )
- getElementInfoVersionsByPageID ( Numeric pageid, Numeric formid, Numeric versionID )
- getElementVersionsForPageID ( Numeric pageid, Numeric formid )
- getFieldIdsByType ( string fieldType )
- Returns a list of fieldID's for a given Field Type
- getFormIDByCEName ( string CEName )
- getFormIDFromPageID ( Numeric pageid )
- Returns the Form ID for the Page ID.
- getPageIDForElement ( numeric formid, string fieldid, any item, string queryType, string searchValues, string searchFields )
- Returns Page ID Query in Data_FieldValue matching Form ID
- invalidateElementCache ( numeric pageID, numeric controlID )
- sortArrayByIDList ( array arrayOfStructs, string idFieldName, string idList )