Login   Register  
PHP Classes
elePHPant
Icontem

File: baseobject_country.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Tom Schaefer  >  TypeSafeStruct  >  baseobject_country.php  >  Download  
File: baseobject_country.php
Role: Example script
Content type: text/plain
Description: persistent type safe model object operating with mysql sample world db
Class: TypeSafeStruct
Manipulate type safe objects
Author: By
Last change: chg
Date: 2009-03-14 08:35
Size: 1,384 bytes
 

Contents

Class file image Download
<?php
/**
 * Model_Objects_Countries
 * @since 2009-03-14 14:40:58
 * @generated execute_vo.php
 * @author Thomas Schaefer
 * @mail scaphare@gmail.com
*/
class Model_Objects_Countries extends TypeSafeStruct
{
    
/**
     * @var string
    */
    
private $string_Code;
    
/**
     * @var string
    */
    
private $string_Name;
    
/**
     * @var string
    */
    
private $string_Continent;
    private 
$ListContinent = array (
        
=> "Asia",
        
=> "Europe",
        
=> "North America",
        
=> "Africa",
        
=> "Oceania",
        
=> "Antarctica",
        
=> "South America",
    );
    
/**
     * @var string
    */
    
private $string_Region;
    
/**
     * @var float
    */
    
private $float_SurfaceArea;
    
/**
     * @var integer
    */
    
private $integer_IndepYear;
    
/**
     * @var integer
    */
    
private $integer_Population;
    
/**
     * @var float
    */
    
private $float_LifeExpectancy;
    
/**
     * @var float
    */
    
private $float_GNP;
    
/**
     * @var float
    */
    
private $float_GNPOld;
    
/**
     * @var string
    */
    
private $string_LocalName;
    
/**
     * @var string
    */
    
private $string_GovernmentForm;
    
/**
     * @var string
    */
    
private $string_HeadOfState;
    
/**
     * @var integer
    */
    
private $integer_Capital;
    
/**
     * @var string
    */
    
private $string_Code2;
    protected function 
__set($key,$value) {
        
$this->{$key} = $value;
    }
    protected function 
__get($key) {
        return 
$this->{$key};
    }
}
?>