PHP Classes

Simple Object: Base class with common variable access functions

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Info   View files View files (9)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2004-04-26 (11 years ago) RSS 2.0 feedStarStarStar 49%Total: 1,414 All time: 2,644 This week: 1,140Up
Version License Categories  
simpleobject 1.0Freely DistributableLibraries, Language
Description Author  

This package provides a base class that has common functions for accessing class variables. It provides to any derived class the same interface of setter and getter functions, import(), export(), append(), register_filter(), unregister_filter(), apply_filter() etc..

A template engine class, a database query result fetcher class are just two examples of derived classes that share the same interface provided by the base class.

Picture of J.B.
Name: J.B. <contact>
Classes: 2 packages by
Country: Latvia Latvia
Age: 32
All time rank: 9774 in Latvia Latvia
Week rank: 1523 Down3 in Latvia Latvia Up

  Files folder image Files  
File Role Description
Accessible without login Plain text file 01_mysql_listing_sample.php Example SimpleObject in use: list MySQL table records in three lines of code
Accessible without login Plain text file 02_directory_listing_sample.php Example Sample use of class DirectoryListing
Accessible without login Plain text file DirectoryIterator.php Aux. class DirectoryIterator extends SimpleIterator
Accessible without login Plain text file listtemplate.php Aux. class ListTemplate provides an easy way to display lists of objects, it extends SimpleTemplate and shows yet another use of class SimpleObject
Accessible without login Plain text file simpleexamples.php Example Useless SimpleObject method usage examples
Accessible without login Plain text file simpleiterator.php Aux. (interface) class SimpleIterator which extends SimpleObject. It declares methods that all Iterators should have to be compatible with each other and classes using SimpleIterator e.g. class ListTemplate
Accessible without login Plain text file simplemysqlresultiterator.php Aux. class SimpleMysqlResulterator extends SimpleIterator
Plain text file SimpleObject.class.php Class class SimpleObject definition
Accessible without login Plain text file simpletemplate.php Aux. class SimpleTemplate provides a way to avoid typing PHP in line with HTML. This class extends SimpleObject class

 Version Control Unique User Downloads Download Rankings  
 0%Total:1,414All time:2,644
 This week:0This week:1,140Up
 User Ratings  
 All time