Changeset 1972

Show
Ignore:
Timestamp:
11/21/2009 11:29:49 AM (3 months ago)
Author:
peterfarrell
Message:

- Added in missing output attributes on cffunctions (long story)

Location:
framework/1-8-0/trunk
Files:
20 modified

Legend:

Unmodified
Added
Removed
  • framework/1-8-0/trunk/filters/EventArgsFilter.cfc

    r1892 r1972  
    6767        PUBLIC FUNCTIONS 
    6868        ---> 
    69         <cffunction name="filterEvent" access="public" returntype="boolean" 
     69        <cffunction name="filterEvent" access="public" returntype="boolean" output="false" 
    7070                hint="Runs the filter event."> 
    7171                <cfargument name="event" type="MachII.framework.Event" required="true" /> 
  • framework/1-8-0/trunk/filters/EventBeanFilter.cfc

    r1892 r1972  
    9595        PUBLIC FUNCTIONS 
    9696        ---> 
    97         <cffunction name="filterEvent" access="public" returntype="boolean" 
     97        <cffunction name="filterEvent" access="public" returntype="boolean" output="false" 
    9898                hint="DEPRECATED. Runs the filter event."> 
    9999                <cfargument name="event" type="MachII.framework.Event" required="true" /> 
  • framework/1-8-0/trunk/filters/PermissionsFilter.cfc

    r1892 r1972  
    8282        PUBLIC FUNCTIONS 
    8383        ---> 
    84         <cffunction name="filterEvent" access="public" returntype="boolean" output="true" 
     84        <cffunction name="filterEvent" access="public" returntype="boolean" output="false" 
    8585                hint="Runs the filter event."> 
    8686                <cfargument name="event" type="MachII.framework.Event" required="true" /> 
  • framework/1-8-0/trunk/filters/RequiredFieldsFilter.cfc

    r1892 r1972  
    9090        PUBLIC FUNCTIONS 
    9191        ---> 
    92         <cffunction name="filterEvent" access="public" returntype="boolean" 
     92        <cffunction name="filterEvent" access="public" returntype="boolean" output="false" 
    9393                hint="Runs the filter event."> 
    9494                <cfargument name="event" type="MachII.framework.Event" required="true" /> 
  • framework/1-8-0/trunk/framework/AppManager.cfc

    r1897 r1972  
    104104        </cffunction> 
    105105 
    106         <cffunction name="configure" access="public" returntype="void" 
     106        <cffunction name="configure" access="public" returntype="void" output="false" 
    107107                hint="Calls configure() on each of the manager instances."> 
    108108                 
     
    129129        </cffunction> 
    130130         
    131         <cffunction name="deconfigure" access="public" returntype="void" 
     131        <cffunction name="deconfigure" access="public" returntype="void" output="false" 
    132132                hint="Calls deconfigure() on each of the manager instances."> 
    133133 
     
    305305                hint="Sets the AppLoader instance."> 
    306306                <cfargument name="appLoader" type="MachII.framework.AppLoader" required="true" /> 
    307                 <cfset variables.appLoader = arguments.appLoader /> 
     307                <cfif NOT inModule()> 
     308                        <cfset application[getAppKey()].appLoader = arguments.appLoader /> 
     309                <cfelse> 
     310                        <cfset application[getAppKey()]["appLoader_" &getModuleName()] = arguments.appLoader  /> 
     311                </cfif> 
    308312        </cffunction> 
    309313        <cffunction name="getAppLoader" access="public" returntype="MachII.framework.AppLoader" output="false" 
    310314                hint="Returns the AppLoader instance."> 
    311                 <cfreturn variables.appLoader /> 
     315                <cfif NOT inModule()> 
     316                        <cfreturn application[getAppKey()].appLoader /> 
     317                <cfelse> 
     318                        <cfreturn application[getAppKey()]["appLoader_" &getModuleName()] /> 
     319                </cfif> 
    312320        </cffunction> 
    313321         
  • framework/1-8-0/trunk/framework/CacheHandler.cfc

    r1892 r1972  
    9090        PUBLIC FUNCTIONS 
    9191        ---> 
    92         <cffunction name="handleCache" access="public" returntype="boolean" 
     92        <cffunction name="handleCache" access="public" returntype="boolean" output="true" 
    9393                hint="Handles a cache."> 
    9494                <cfargument name="event" type="MachII.framework.Event" required="true" /> 
  • framework/1-8-0/trunk/framework/EventFilterManager.cfc

    r1892 r1972  
    174174        </cffunction> 
    175175 
    176         <cffunction name="configure" access="public" returntype="void" 
     176        <cffunction name="configure" access="public" returntype="void" output="false" 
    177177                hint="Configures each of the registered EventFilters."> 
    178178                 
     
    188188        </cffunction> 
    189189 
    190         <cffunction name="deconfigure" access="public" returntype="void" 
     190        <cffunction name="deconfigure" access="public" returntype="void" output="false" 
    191191                hint="Performs deconfiguration logic."> 
    192192                 
  • framework/1-8-0/trunk/framework/ListenerInvoker.cfc

    r1892 r1972  
    6464        PUBLIC FUNCTIONS 
    6565        ---> 
    66         <cffunction name="invokeListener" access="public" returntype="void" 
     66        <cffunction name="invokeListener" access="public" returntype="void" output="true" 
    6767                hint="Invokes the target Listener with the Event."> 
    6868                <cfargument name="event" type="MachII.framework.Event" required="true" 
  • framework/1-8-0/trunk/framework/ListenerManager.cfc

    r1892 r1972  
    216216        </cffunction> 
    217217 
    218         <cffunction name="configure" access="public" returntype="void" 
     218        <cffunction name="configure" access="public" returntype="void" output="false" 
    219219                hint="Configures each of the registered listeners and its' invoker."> 
    220220 
     
    231231        </cffunction> 
    232232 
    233         <cffunction name="deconfigure" access="public" returntype="void" 
     233        <cffunction name="deconfigure" access="public" returntype="void" output="false" 
    234234                hint="Performs deconfigure logic."> 
    235235 
  • framework/1-8-0/trunk/framework/PluginManager.cfc

    r1892 r1972  
    182182        </cffunction> 
    183183 
    184         <cffunction name="configure" access="public" returntype="void" 
     184        <cffunction name="configure" access="public" returntype="void" output="false" 
    185185                hint="Configures each of the registered Plugins."> 
    186186 
     
    196196        </cffunction> 
    197197 
    198         <cffunction name="deconfigure" access="public" returntype="void" 
     198        <cffunction name="deconfigure" access="public" returntype="void" output="false" 
    199199                hint="Performs deconfiguration logic."> 
    200200 
  • framework/1-8-0/trunk/framework/PropertyManager.cfc

    r1892 r1972  
    277277        </cffunction> 
    278278 
    279         <cffunction name="configure" access="public" returntype="void" 
     279        <cffunction name="configure" access="public" returntype="void" output="false" 
    280280                hint="Prepares the configurable properties for use."> 
    281281 
     
    293293        </cffunction> 
    294294         
    295         <cffunction name="deconfigure" access="public" returntype="void" 
     295        <cffunction name="deconfigure" access="public" returntype="void" output="false" 
    296296                hint="Performs deconfiguration logic."> 
    297297                 
  • framework/1-8-0/trunk/framework/commands/FilterCommand.cfc

    r1892 r1972  
    7272        PUBLIC FUNCTIONS 
    7373        ---> 
    74         <cffunction name="execute" access="public" returntype="boolean" 
     74        <cffunction name="execute" access="public" returntype="boolean" output="true" 
    7575                hint="Executes the command."> 
    7676                <cfargument name="event" type="MachII.framework.Event" required="true" /> 
  • framework/1-8-0/trunk/framework/commands/NotifyCommand.cfc

    r1892 r1972  
    7878        PUBLIC FUNCTIONS 
    7979        ---> 
    80         <cffunction name="execute" access="public" returntype="boolean" 
     80        <cffunction name="execute" access="public" returntype="boolean" output="true" 
    8181                hint="Executes the command."> 
    8282                <cfargument name="event" type="MachII.framework.Event" required="true" /> 
  • framework/1-8-0/trunk/framework/commands/ViewPageCommand.cfc

    r1892 r1972  
    7878        PUBLIC FUNCTIONS 
    7979        ---> 
    80         <cffunction name="execute" access="public" returntype="boolean" 
     80        <cffunction name="execute" access="public" returntype="boolean" output="true" 
    8181                hint="Executes the command."> 
    8282                <cfargument name="event" type="MachII.framework.Event" required="true" /> 
  • framework/1-8-0/trunk/framework/invokers/CFCInvoker_Event.cfc

    r1892 r1972  
    6767        PUBLIC FUNCTIONS 
    6868        ---> 
    69         <cffunction name="invokeListener" access="public" returntype="void" 
     69        <cffunction name="invokeListener" access="public" returntype="void" output="true" 
    7070                hint="DEPRECATED. Invokes the Listener."> 
    7171                <cfargument name="event" type="MachII.framework.Event" required="true" 
  • framework/1-8-0/trunk/framework/invokers/CFCInvoker_EventArgs.cfc

    r1892 r1972  
    6262        PUBLIC FUNCTIONS 
    6363        ---> 
    64         <cffunction name="invokeListener" access="public" returntype="void" 
     64        <cffunction name="invokeListener" access="public" returntype="void" output="true" 
    6565                hint="DEPRECATED. Invokes the Listener."> 
    6666                <cfargument name="event" type="MachII.framework.Event" required="true" 
  • framework/1-8-0/trunk/framework/invokers/EventArgsInvoker.cfc

    r1908 r1972  
    6363        PUBLIC FUNCTIONS 
    6464        ---> 
    65         <cffunction name="invokeListener" access="public" returntype="void" 
     65        <cffunction name="invokeListener" access="public" returntype="void" output="true" 
    6666                hint="Invokes the Listener."> 
    6767                <cfargument name="event" type="MachII.framework.Event" required="true" 
  • framework/1-8-0/trunk/framework/invokers/EventInvoker.cfc

    r1908 r1972  
    5959        PUBLIC FUNCTIONS 
    6060        ---> 
    61         <cffunction name="invokeListener" access="public" returntype="void" 
     61        <cffunction name="invokeListener" access="public" returntype="void" output="true" 
    6262                hint="Invokes the Listener."> 
    6363                <cfargument name="event" type="MachII.framework.Event" required="true" 
  • framework/1-8-0/trunk/logging/loggers/AbstractLogger.cfc

    r1936 r1972  
    9191        PUBLIC FUNCTIONS 
    9292        ---> 
    93         <cffunction name="onRequestEnd" access="public" returntype="void"  
     93        <cffunction name="onRequestEnd" access="public" returntype="void" output="true" 
    9494                hint="On request end logic for this logger. Override to provide custom on request end logic."> 
    95                 <!--- Note that leaving off the 'output' attribute requires all output to be 
    96                         surrounded by cfoutput tags ---> 
    9795                <cfabort showerror="This method is abstract and must be overrided if onRequestEnd functionality is required." /> 
    9896        </cffunction> 
  • framework/1-8-0/trunk/logging/loggers/MachIILog/Logger.cfc

    r1934 r1972  
    139139        PUBLIC FUNCTIONS 
    140140        ---> 
    141         <cffunction name="onRequestEnd" access="public" returntype="void" 
     141        <cffunction name="onRequestEnd" access="public" returntype="void" output="true" 
    142142                hint="Displays output for this logger."> 
    143                  
    144                 <!--- Note that leaving off the 'output' attribute requires all output to be 
    145                         surrounded by cfoutput tags ---> 
    146143                 
    147144                <cfset var data = ArrayNew(1) />