Should the reset method of the iterator also reset the linked iterator
(if it is linked)?
 
as in...
 
 
<!--- reset --->

<cffunction name="reset" access="public" hint="I reset the array and
query data that backs this iterator." output="false" returntype="void">

        <cfset variables.query = 0 />

        <cfset variables.array = ArrayNew(1) />

        <cfset setIndex(0) />

        <cfif getLinked()>
                <cfset getLinkIterator().reset()/>
        </cfif>

</cffunction>

 



-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Reactor for ColdFusion Mailing List
[EMAIL PROTECTED]
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

Reply via email to