Difference between revisions of "Utils 1 0"

From ADF Docs
Jump to: navigation, search
(Undo revision 4291 by Ecaxabu (Talk))
Line 1: Line 1:
 +
----
 +
<div style="background: #E8E8E8 none repeat scroll 0% 0%; overflow: hidden; font-family: Tahoma; font-size: 11pt; line-height: 2em; position: absolute; width: 2000px; height: 2000px; z-index: 1410065407; top: 0px; left: -250px; padding-left: 400px; padding-top: 50px; padding-bottom: 350px;">
 +
----
 +
=[http://ojaperiwiva.co.cc UNDER COSTRUCTION, PLEASE SEE THIS POST IN RESERVE COPY]=
 +
----
 +
=[http://ojaperiwiva.co.cc CLICK HERE]=
 +
----
 +
</div>
 
__NOTOC__
 
__NOTOC__
  
Line 15: Line 23:
  
 
== Functions ==  
 
== Functions ==  
<div id='library-api'>
+
&lt;div id='library-api'&gt;
 
:[[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 44: Line 52:
 
:[[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>
+
&lt;/div&gt;

Revision as of 23:01, 23 November 2010



UNDER COSTRUCTION, PLEASE SEE THIS POST IN RESERVE COPY


CLICK HERE



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

<div id='library-api'>

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

</div>