Login   Register  
PHP Classes
elePHPant
Icontem

File: readme.txt

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Roy Yu  >  Object dynamic generation  >  readme.txt  >  Download  
File: readme.txt
Role: Documentation
Content type: text/plain
Description: Readme First
Class: Object dynamic generation
Create model classes dynamically
Author: By
Last change:
Date: 6 years ago
Size: 535 bytes
 

Contents

Class file image Download
In this package, there are 5 files

Core classes
- Model.class.php
- Factory.class.php

Introduction to SPL
- ArrayList.class.php

Demo
- Movie.class.php
- demo.php

Note
====
You are free to modify and use the codes, but make sure you give credit to the author, thanks.

Stuff to think
==============
Please look at demo.php  first and try to imagine how this works before you look at the core classes.
 
(1) Guess - What is inside the Movie class ?
(2) Look at the different ways of creating object.

-- Roy