Accessibility
Adobe
Sign in Privacy My Adobe

ColdFusion Extension

Adobe Exchange: The new way to discover and install plug-ins, extensions and content for the Creative Suite. Get it now

cfa_createSortedStruct

By Stijn Dreezen (Marburg) November 09, 2001
280 Downloads

Rating = 44 votes


This tag returns a sorted and stripped down structure from an input structure. You pass a structure, a return_structure name, the key to sort by and the list of keys you want to return. Optionally a sort type and sort order can be specified. Typically used to get a proper nested structure result upon a contentobjectfind in spectra. I couldn't get the StructSort() function to work properly and do as i wanted, i always ended up sorting only by the first key (specifying the PathToSubElement, i couldn't understand, it's nowhere explained properly etc...), so i did this tag myself, and while i was at it, i implemented the return keylist key/pair values only, coz i also need that often, i don't want to keep working with the complete structure result of contentobjectfind). You can also use it to sort your own nested structures, you are not restricted to use it only with contentobjectfind structresult in spectra.

SUPPORT INFORMATION
Not available

Download

License: Freeware
Cost: Free
OS: Not available
File format: ZIP | 1.3 KB

Additional extension information

Author: Stijn Dreezen (Marburg)
Author website: Not available
Date published: November 09, 2001
Approval: None
Browsers: Not available
Compatible Products(s): ColdFusion 4.5
Encrypted: No

Reviews

0-0 of 0 reviews | Show all reviews


Add a review

(+) Please log in to submit a review