PHP Classes

File: tests/include/Example1.php

Recommend this page to a friend!
  Classes of Haseeb Ahmad Basil   PHP Skeleton Framework   tests/include/Example1.php   Download  
File: tests/include/Example1.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP Skeleton Framework
Extensive Web application development framework
Author: By
Last change:
Date: 8 years ago
Size: 334 bytes
 

Contents

Class file image Download
<?php
class Example1 {
    public
$args = null;
    public
$one = null;
    public
$two = null;
    public
$example = 'example';

    function
__construct($args=null) {
       
$this->args = $args;
    }
   
    function
one($arg) {
       
$this->one = $arg;
        return
$arg;
    }
   
    function
two($arg) {
       
$this->two = $arg;
        return
$arg;
    }
   
}
?>