PHP Classes
Icontem

File: baseobject_country.php


  Search   All class groups All class groups   Latest entries Latest entries   Top 10 charts Top 10 charts   Newsletter Newsletter   Blog Blog   Forums Forums   Help FAQ Help FAQ  
  Login   Register  
Recommend this page to a friend! ReTweet ReTweet Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Tom Schaefer  >  TypeSafeStruct  >  baseobject_country.php  
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
 

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};
    }
}
?>

 
  Advertise on this site Advertise on this site   Site map Site map   Statistics Statistics   Site tips Site tips   Privacy policy Privacy policy   Contact Contact  

For more information send a message to :
info at phpclasses dot org.
Copyright (c) Icontem 1999-2009 PHP Classes - PHP Class Scripts
  PHP Book Reviews - Reviews of books and other products