Yahoo! UI Library

event  3.0.0pr2

Yahoo! UI Library > event > Do.Method
Search:
 
Filters

Class Do.Method

Wrapper for a displaced method with aop enabled

Constructor

Do.Method ( obj , sFn )
Parameters:
obj <object> The object to operate on
sFn <object> The name of the method to displace

Methods

delete

void delete ( sid , fn , when )
Unregister a aop subscriber
Parameters:
sid <string> the subscriber id
fn <Function> the function to execute
when <string> when to execute the function
Returns: void

exec

void exec ( )
Execute the wrapped method
Returns: void

register

void register ( sid , fn , when )
Register a aop subscriber
Parameters:
sid <string> the subscriber id
fn <Function> the function to execute
when <string> when to execute the function
Returns: void


Copyright © 2008 Yahoo! Inc. All rights reserved.