[thelist] OOP Validation Classes in PHP

Jay Blanchard jay.blanchard at niicommunications.com
Mon Sep 22 08:48:25 CDT 2003

When I started writing the classes, I was looking for more specific
answers, such as how to pass the value of one method to another method
in the same class, or in another class.

As to the first, the returned value can be passed to another method in
the same class

function _someFunc ($var1) { //private method (but not really yet in
	do stuff;
	return stuff;

function _someOtherFunction($var2) {
	do stuff with stuff;

As to the second, inheritance is your friend and then can be passed as

More information about the thelist mailing list