Skip to end of metadata
Go to start of metadata

variant FB::JSAPI::GetMethodObject ( const std::string &  methodObjName  )  [inline, virtual]

Gets a method object (JSAPI object that has a default method).

Often it is preferable with the plugins to have the API return a JSAPI object as a property and then call the default method on that object. This looks the same in javascript, except that you can save the function object if you want to. See FB::JSFunction for an example of how to make a function object

Parameters:
methodObjName Name of the methodObj.
Returns:
The methodObj value
Since:
1.4
See also:
FB::JSFunction

Reimplemented in FB::JSAPIAuto.

Definition at line 381 of file JSAPI.h.

00381 { return FB::JSAPIPtr(); }


Generated on 25 May 2013 for FireBreath by  doxygen 1.6.1
Labels
  • None