NYCPHP Meetup

NYPHP.org

[nycphp-talk] Accessing Properties in PHP OOP

randal rust rrust at r2communications.com
Thu Aug 26 09:34:20 EDT 2004


Joseph Crawford Jr. wrote:

> class client extends display {
> then you can use $this->displaymethod

Because class_client also accesses the methods of class_validator.

class_display controls whether or not the form is displayed. if there 
are errors, the form may or may not be displayed. if submission was 
successful, the form will not be displayed.

But in order to do error checking, it has to access class_validator to 
check the user input.

-- 
Randal Rust

R.Squared Communications
http://www.r2communications.com
Digital Design for Bricks-and-Mortar Businesses




More information about the talk mailing list