PHP2Go Javascript Framework

Class Function

Object
   |
   +--Function

class Function

Defined in php2go.js


 
Method Summary
 Object apply(<Object> obj, <Array> args)
           Applies the function on a given object, using the given set of arguments
 Function bind(<Object> obj)
           Returns an instance of the function pre-bound to the method owner object
 Number delay()
           Calls the function after a given number of miliseconds.
 void extend(<Function> parent, <String> propName)
           Creates an inheritance relationship with another function, if both are class constructors.
 void implement()
           Adds one or more implementations to the class specificied by the function
 Function methodize(<Function> fn)
           Encapsulates the pattern of converting the first argument of the function into its 'this' value


Method Detail

apply

Object apply(<Object> obj, <Array> args)

bind

Function bind(<Object> obj)

delay

Number delay()

extend

void extend(<Function> parent, <String> propName)

implement

void implement()

methodize

Function methodize(<Function> fn)

PHP2Go Javascript Framework

Copyright © 2002-2006 by Marcos Pont
Documentation generated by JSDoc on Sun Oct 7 19:52:10 2007