Difference between revisions of "Utils 1 0"
From ADF Docs
Line 1: | Line 1: | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
__NOTOC__ | __NOTOC__ | ||
Line 23: | Line 15: | ||
== Functions == | == Functions == | ||
− | + | <div id='library-api'> | |
:[[Utils_1_0-abort|abort]] ( ) | :[[Utils_1_0-abort|abort]] ( ) | ||
:[[Utils_1_0-buildPagination|buildPagination]] ( numeric page, numeric itemCount, numeric pageSize, boolean showCount, string URLparams ) | :[[Utils_1_0-buildPagination|buildPagination]] ( numeric page, numeric itemCount, numeric pageSize, boolean showCount, string URLparams ) | ||
Line 52: | Line 44: | ||
:[[Utils_1_0-updateListItems|updateListItems]] ( string fieldType ) | :[[Utils_1_0-updateListItems|updateListItems]] ( string fieldType ) | ||
::Given a fieldType update the fields that use that field type to have list items | ::Given a fieldType update the fields that use that field type to have list items | ||
− | + | </div> |
Latest revision as of 14:34, 24 November 2010
Attention: Do not change any text in the description, properties, and functions sections.
Return to Library (API)
Description
Util functions for the ADF Library
Properties
- dependency = ceData_1_0
- version = 1_0_0
- wikiTitle = Utils_1_0
- type = singleton
Functions
- abort ( )
- buildPagination ( numeric page, numeric itemCount, numeric pageSize, boolean showCount, string URLparams )
- bulkLogAppend ( array logs )
- Takes an array of log writes and calls log append with each write
- createUniqueFileName ( string fullPath )
- deleteScheduledTask ( string taskName )
- directoryFiles ( string dirPath, string recurse )
- Returns the files for the directory.
- doDump ( any var, string label, boolean expand, numeric returnInVar )
- ColdFusion dump of the variable argument.
- exit ( )
- fieldTypeIsList ( string fieldType )
- Determines if the field type is a 'list' field type
- filterDirectoryQueryByType ( query dirQuery, string whereCondValue, string whereOperator, string queryType )
- Filters the query to find the CFC file name.
- getFieldTypes ( )
- Returns back the details for any custom field type that is currently a list
- HTMLSafeFormattedTextBox ( string inString )
- ListRandomElements ( string theList, numeric numElements, string theDelim )
- Returns specified number of random list elements without repeats.
- logAppend ( string msg, string logFile, boolean addTimeStamp, string logDir )
- scriptExists ( string templatePath )
- setScheduledTask ( string url, string taskName, string schedLogFileName, string minuteDelay )
- unzipFile ( string zipFilePath, string outputPath )
- updateCustomFieldType ( numeric ID, string propertyModule, string renderModule, string type, string JSValidator, string active )
- Updates a custom field type record
- updateListItems ( string fieldType )
- Given a fieldType update the fields that use that field type to have list items