Difference between revisions of "Utils 1 0"
From ADF Docs
(→Properties: new section) |
|||
(10 intermediate revisions by 3 users 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)]] | |
− | Properties | + | == Description == |
+ | Util functions for the ADF Library | ||
+ | |||
+ | == Properties == | ||
+ | :dependency = ceData_1_0 | ||
+ | :version = 1_0_0 | ||
+ | :wikiTitle = Utils_1_0 | ||
+ | :type = singleton | ||
+ | |||
+ | == Functions == | ||
+ | <div id='library-api'> | ||
+ | :[[Utils_1_0-abort|abort]] ( ) | ||
+ | :[[Utils_1_0-buildPagination|buildPagination]] ( numeric page, numeric itemCount, numeric pageSize, boolean showCount, string URLparams ) | ||
+ | :[[Utils_1_0-bulkLogAppend|bulkLogAppend]] ( array logs ) | ||
+ | ::Takes an array of log writes and calls log append with each write | ||
+ | :[[Utils_1_0-createUniqueFileName|createUniqueFileName]] ( string fullPath ) | ||
+ | :[[Utils_1_0-deleteScheduledTask|deleteScheduledTask]] ( string taskName ) | ||
+ | :[[Utils_1_0-directoryFiles|directoryFiles]] ( string dirPath, string recurse ) | ||
+ | ::Returns the files for the directory. | ||
+ | :[[Utils_1_0-doDump|doDump]] ( any var, string label, boolean expand, numeric returnInVar ) | ||
+ | ::ColdFusion dump of the variable argument. | ||
+ | :[[Utils_1_0-exit|exit]] ( ) | ||
+ | :[[Utils_1_0-fieldTypeIsList|fieldTypeIsList]] ( string fieldType ) | ||
+ | ::Determines if the field type is a 'list' field type | ||
+ | :[[Utils_1_0-filterDirectoryQueryByType|filterDirectoryQueryByType]] ( query dirQuery, string whereCondValue, string whereOperator, string queryType ) | ||
+ | ::Filters the query to find the CFC file name. | ||
+ | :[[Utils_1_0-getFieldTypes|getFieldTypes]] ( ) | ||
+ | ::Returns back the details for any custom field type that is currently a list | ||
+ | :[[Utils_1_0-HTMLSafeFormattedTextBox|HTMLSafeFormattedTextBox]] ( string inString ) | ||
+ | :[[Utils_1_0-ListRandomElements|ListRandomElements]] ( string theList, numeric numElements, string theDelim ) | ||
+ | ::Returns specified number of random list elements without repeats. | ||
+ | :[[Utils_1_0-logAppend|logAppend]] ( string msg, string logFile, boolean addTimeStamp, string logDir ) | ||
+ | :[[Utils_1_0-scriptExists|scriptExists]] ( string templatePath ) | ||
+ | :[[Utils_1_0-setScheduledTask|setScheduledTask]] ( string url, string taskName, string schedLogFileName, string minuteDelay ) | ||
+ | :[[Utils_1_0-unzipFile|unzipFile]] ( string zipFilePath, string outputPath ) | ||
+ | :[[Utils_1_0-updateCustomFieldType|updateCustomFieldType]] ( numeric ID, string propertyModule, string renderModule, string type, string JSValidator, string active ) | ||
+ | ::Updates a custom field type record | ||
+ | :[[Utils_1_0-updateListItems|updateListItems]] ( string fieldType ) | ||
+ | ::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