<?php

class testClass
{
        function testClass() {
                $this->methodTable = array(
                        "test1" => array(
                                "description"=>"I return 'hello world'",
                                "access"=>"remote",
                                "arguments"=>array(),
                                "returntype"=>"string"),

                        "test2" => array(
                                "description"=>"I return 'hello'",
                                "access"=>"remote",
                                "arguments"=>array(),
                                "returntype"=>"string")
                );
        }

        function test1() {
                return $this->test2()." world";
        }

        function test2() {
                return "hello";
        }
}

?>

<html>
<head><title></title></head>
<body>
<?php

include('testClass.php');

$myTest = new testClass();
$message  = $myTest->test1();
echo $message;



?>
</body>
</html>




Mike
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to