ZenMagick 0.9.6


org.zenmagick.rp.resultlist.sources.ZMObjectResultSource

Class ZMObjectResultSource

ZMObject
|
+--ZMObjectResultSource
All Implemented Interfaces:
ZMResultSource

public class ZMObjectResultSource
extends ZMObject

A result source based on calling a method on an object.

Author:
DerManoMann
Version:
$Id: ZMObjectResultSource.php 2034 2009-03-08 23:08:00Z dermanomann $

Fields inherited from org.zenmagick.ZMObject
properties_
Constructor Summary

ZMObjectResultSource(string resultClass, mixed object, string method, array args)

Create a new instance.

Method Summary
array

getArgs()

Get the method parameter.

string

getMethod()

Get the method name.

void

getResultClass()

{@inheritDoc} /

void

getResults()

{@inheritDoc} /

void

getTotalNumberOfResults()

{@inheritDoc} /

void

isFinal()

{@inheritDoc} /

void

setResultList(mixed resultList)

{@inheritDoc} /

Methods inherited from org.zenmagick.ZMObject
attachMethod, get, getAttachedMethods, getPropertyNames, set, singleton

Constructor Detail

ZMObjectResultSource

public ZMObjectResultSource(string resultClass, mixed object, string method, array args)

Create a new instance.

Parameters:
resultClass - The class of the results.
object - The object to be used.
method - The method to call on the object.
args - Optional method parameter.

Method Detail

getArgs

public array getArgs()

Get the method parameter.

Returns:
The method parameter.

getMethod

public string getMethod()

Get the method name.

Returns:
The method name.

getResultClass

public void getResultClass()

/


getResults

public void getResults()

/


getTotalNumberOfResults

public void getTotalNumberOfResults()

/


isFinal

public void isFinal()

/


setResultList

public void setResultList(mixed resultList)

/


ZenMagick 0.9.6