Login   Register  
PHP Classes
elePHPant
Icontem

File: class.test.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  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: 2002-05-09 19:48
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!";
    }

}

?>