phpPeanuts  2.2.0
phpPeanuts framework
 All Data Structures Namespaces Files Functions Variables
Public Member Functions | Static Public Member Functions | Data Fields
PntMethodInvocation Class Reference

Inherits PntEvaluation.

Public Member Functions

 getReceiver ()
 
 setReceiver ($value)
 
 getLabel ()
 
 evaluate ($item, $extra1=null, $extra2=null, $extra3=null)
 
- Public Member Functions inherited from PntEvaluation
 getKey ()
 
 setKey ($value)
 
 getLabel ()
 
 getClass ()
 
 evaluate ($item, $extra1=null, $extra2=null, $extra3=null)
 
 getResultType ()
 
 getLastProp ()
 
 __toString ()
 
 toString ()
 
 _evaluate ($item)
 

Static Public Member Functions

static getInstance ($key, $receiver)
 
static _getInstance ($key, $receiver)
 
- Static Public Member Functions inherited from PntEvaluation
static getInstance ($key)
 
static _getInstance ($key)
 

Data Fields

 $receiver
 
- Data Fields inherited from PntEvaluation
 $key
 

Member Function Documentation

static _getInstance (   $key,
  $receiver 
)
static
evaluate (   $item,
  $extra1 = null,
  $extra2 = null,
  $extra3 = null 
)

calls the method mixed $item the parameter of the method

Returns
mixed whatever the evaluated method returns
Exceptions
whateverthe evaluated method throws
static getInstance (   $key,
  $receiver 
)
static

get an instance of the proper subclass for evaluation with the specified key

Parameters
keyString the name of the method
receiverObject the object who's method will be invocated
Returns
PntMethodInvocation
getLabel ( )
getReceiver ( )
setReceiver (   $value)

Field Documentation

$receiver

The documentation for this class was generated from the following file: