Login   Register  
PHP Classes
elePHPant
Icontem

Simple Object: Base class with common variable access functions

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  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 (10 years ago) RSS 2.0 feedStarStarStar 49%Total: 1,398 All time: 2,600 This week: 1,493Up
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: 30
All time rank: 9564 in Latvia Latvia
Week rank: 1779 Down5 in Latvia Latvia Down

  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,398All time:2,600
 This week:0This week:1,493Up
 User Ratings  
 
 All time
Utility:75%StarStarStarStar
Consistency:75%StarStarStarStar
Documentation:-
Examples:43%StarStarStar
Tests:-
Videos:-
Overall:49%StarStarStar
Rank:1676