PHP Classes

File: class.test.php

Recommend this page to a friend!
  Classes of Ivan Ristic  >  XML-RPC Class Server  >  class.test.php  >  Download  
File: class.test.php
Role: ???
Content type: text/plain
Description: Simple PHP class used for testing
Class: XML-RPC Class Server
Turns any PHP class into an XML-RPC server
Author: By
Last change:
Date: 19 years ago
Size: 219 bytes
 

Contents

Class file image Download
<?

class Test {
    
    function _init($secret) {
        if ($secret == '42') return true;
        else return false;
    }

    function sayHello($name) {
        return "Hello $name!";
    }

}

?>
For more information send a message to info at phpclasses dot org.