Difference between revisions of "Data 1 0"

From ADF Docs
Jump to: navigation, search
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
__NOTOC__
 +
 +
Attention: Do not change any text in the description, properties, and functions sections.
 +
 +
Return to [[Library|Library (API)]]
 +
 
== Description ==  
 
== Description ==  
 
Data Utils component functions for the ADF Library
 
Data Utils component functions for the ADF Library
  
== Properties ==
+
== Properties ==  
 
+
:version = 1_0_0
Properties
+
:wikiTitle = Data_1_0
 
+
:type = singleton
== Functions ==
 
  
Functions
+
== Functions ==
 +
<div id='library-api'>
 +
:[[Data_1_0-ArrayConcat|ArrayConcat]] ( array a1, array a2 )
 +
:[[Data_1_0-arraydeletearray|arraydeletearray]] ( array baseArray, array deleteArray )
 +
:[[Data_1_0-arrayOfStructsSort|arrayOfStructsSort]] ( array aOfS, string key, string sortOrder, string sortType, string delim )
 +
:[[Data_1_0-arrayOfStructuresToQuery|arrayOfStructuresToQuery]] ( array theArray )
 +
:[[Data_1_0-ArraySort2D|ArraySort2D]] ( array arrayToSort, numeric sortColumn, string type, string delim, string sortOrder )
 +
:[[Data_1_0-capFirst|capFirst]] ( string str )
 +
:[[Data_1_0-cfRssFeed|cfRssFeed]] ( string feedUrl )
 +
:[[Data_1_0-CSVToArray|CSVToArray]] ( string File, string CSV, string Delimiter, boolean Trim )
 +
::Takes a CSV file or CSV data value and converts it to an array of arrays based on the given field delimiter. Line delimiter is assumed to be new line / carriage return related.
 +
:[[Data_1_0-csvToQuery|csvToQuery]] ( string csvString, string rowDelim, string colDelim )
 +
::Converts a CSV file into a Query
 +
:[[Data_1_0-decimalRound|decimalRound]] ( numeric numberToRound, numeric numberOfPlaces )
 +
:[[Data_1_0-deleteFromList|deleteFromList]] ( string list, string listValue )
 +
::Removes a value from a list
 +
:[[Data_1_0-formatUUID|formatUUID]] ( string uuid )
 +
:[[Data_1_0-getBinaryDocFile|getBinaryDocFile]] ( string filePath )
 +
:[[Data_1_0-getTagAttribute|getTagAttribute]] ( string tag, string attribute )
 +
::Returns the value for the html tag attribute
 +
:[[Data_1_0-isCFUUID|isCFUUID]] ( string inStr )
 +
:[[Data_1_0-ListInCommon|ListInCommon]] ( String list1, String list2 )
 +
:[[Data_1_0-listRemoveDuplicates|listRemoveDuplicates]] ( string lst )
 +
:[[Data_1_0-queryColumnsToStruct|queryColumnsToStruct]] ( query query, string keyColumn, string valueColumn, boolean reverse )
 +
:[[Data_1_0-queryConcat|queryConcat]] ( query q1, query q2 )
 +
::Concatenate two queries together
 +
:[[Data_1_0-queryStringToStruct|queryStringToStruct]] ( String inString )
 +
:[[Data_1_0-queryToArrayOfStructures|queryToArrayOfStructures]] ( query queryData )
 +
::Converts a query to an array of structures
 +
:[[Data_1_0-queryToCSV|queryToCSV]] ( query data, string headers, string cols )
 +
::Converts a CF Query into a CSV string
 +
:[[Data_1_0-QueryToXML|QueryToXML]] ( query query, string rootElementName, string rowName )
 +
:[[Data_1_0-sortArrayByIDList|sortArrayByIDList]] ( array arrayOfStructs, string idFieldName, string idList )
 +
:[[Data_1_0-structFindRecurse|structFindRecurse]] ( struct dataStruct, string keyList )
 +
::Returns the struct key value for the struct key that matches the keylist param.
 +
:[[Data_1_0-structMerge|structMerge]] ( struct struct1, struct struct2 )
 +
::Merge two simple or complex structures in one.
 +
:[[Data_1_0-StructToQueryString|StructToQueryString]] ( struct struct )
 +
:[[Data_1_0-trimStringByWordCount|trimStringByWordCount]] ( string str, numeric words, boolean useEllipsis )
 +
::Shortens a string without cutting words in half and appends '...' to the end.
 +
</div>

Latest revision as of 12:44, 9 April 2010


Attention: Do not change any text in the description, properties, and functions sections.

Return to Library (API)

Description

Data Utils component functions for the ADF Library

Properties

version = 1_0_0
wikiTitle = Data_1_0
type = singleton

Functions

ArrayConcat ( array a1, array a2 )
arraydeletearray ( array baseArray, array deleteArray )
arrayOfStructsSort ( array aOfS, string key, string sortOrder, string sortType, string delim )
arrayOfStructuresToQuery ( array theArray )
ArraySort2D ( array arrayToSort, numeric sortColumn, string type, string delim, string sortOrder )
capFirst ( string str )
cfRssFeed ( string feedUrl )
CSVToArray ( string File, string CSV, string Delimiter, boolean Trim )
Takes a CSV file or CSV data value and converts it to an array of arrays based on the given field delimiter. Line delimiter is assumed to be new line / carriage return related.
csvToQuery ( string csvString, string rowDelim, string colDelim )
Converts a CSV file into a Query
decimalRound ( numeric numberToRound, numeric numberOfPlaces )
deleteFromList ( string list, string listValue )
Removes a value from a list
formatUUID ( string uuid )
getBinaryDocFile ( string filePath )
getTagAttribute ( string tag, string attribute )
Returns the value for the html tag attribute
isCFUUID ( string inStr )
ListInCommon ( String list1, String list2 )
listRemoveDuplicates ( string lst )
queryColumnsToStruct ( query query, string keyColumn, string valueColumn, boolean reverse )
queryConcat ( query q1, query q2 )
Concatenate two queries together
queryStringToStruct ( String inString )
queryToArrayOfStructures ( query queryData )
Converts a query to an array of structures
queryToCSV ( query data, string headers, string cols )
Converts a CF Query into a CSV string
QueryToXML ( query query, string rootElementName, string rowName )
sortArrayByIDList ( array arrayOfStructs, string idFieldName, string idList )
structFindRecurse ( struct dataStruct, string keyList )
Returns the struct key value for the struct key that matches the keylist param.
structMerge ( struct struct1, struct struct2 )
Merge two simple or complex structures in one.
StructToQueryString ( struct struct )
trimStringByWordCount ( string str, numeric words, boolean useEllipsis )
Shortens a string without cutting words in half and appends '...' to the end.