PHP Classes

File: demo.class.php

Recommend this page to a friend!
  Classes of Jon Pulice  >  JPClassCreator  >  demo.class.php  >  Download  
File: demo.class.php
Role: Sample output
Content type: text/plain
Description: Outputted Class File From Example Script
Class: JPClassCreator
Generate class files from dynamic definitions
Author: By
Last change:
Date: 17 years ago
Size: 1,026 bytes
 

Contents

Class file image Download
<?php //-------------------------------- // Name: DemoClass // Author: Your Name Here // Description: // this is the description of // the class, it is very long // to test the word wrap in // my code // //-------------------------------- // This class was created by // -- JPClassCreator -- // // By Jonathan Pulice, Please // Leave these credits intact. // // Created: Aug 10, 05 at 12:15 am //-------------------------------- class DemoClass { // ---------------------------------- // --- Class Variables -------------- var $var1 = "demo"; // demo variable var $var2 = 15; // demo variable var $var3 = array(); // demo variable // ---------------------------------- // --- Class Functions -------------- // Name: DemoFnc // Desc: this is a demo of a function function DemoFnc( $param1 , $param2 ) { echo "this is a demo function called {$param1}"; return true; } // ---------------------------------- } //End Of Class ?>