System.Web.Services.AJAX
[ class tree: System.Web.Services.AJAX ] [ index: System.Web.Services.AJAX ] [ all elements ]

Class: TAjaxProxy

Source Location: /Web/Services/AJAX/TRemoteObjectServer.php

Class Overview


AJAX Remote object class.

Class Details

[line 750]
AJAX Remote object class.

Calls the remote object method from an AJAX request.




version:  $Revision: 1.1 $ $Date: 2005/11/06 23:02:35 $
author:  Wei Zhuo<weizhuo[at]gmail[dot]com>


[ Top ]

Variables

Methods



Class Variables

$args = array()

[line 768]

Method parameters.



access:  protected

Type:   array


[ Top ]

$object =

[line 762]

The requested class instance.



access:  protected

Type:   object


[ Top ]

$request =

[line 756]

Method request.



access:  protected

Type:   string


[ Top ]



Class Methods


constructor __construct [line 776]

TAjaxProxy __construct( TAjaxObjectInfo $object, string $request, array $args)

Creates a new remote object.



access:  public


Parameters:

TAjaxObjectInfo   $object   requested class instance.
string   $request   requested class method.
array   $args   requested method parameter data

[ Top ]

method apply [line 799]

void apply( mixed $obj, mixed $method, [mixed $args = array()])

Instance method call, similar to apply in JS.



access:  protected


[ Top ]

method invoke [line 787]

mixed invoke( )

Call the requested class instance method.



return:  data return from the method call.
access:  public


[ Top ]


© 2004-2005 PRADO Software Group. All Rights Reserved.