News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

DevShed:
Retrieving Information on Several Objects with Destructors in PHP 5
February 07, 2008 @ 10:28:00

DevShed has posted the next-to-last (part four) of their series looking at destructors in PHP5 applications today. This time they focus on passing information back out of the destructors as the script is finishing.

In this fourth article of the series I'm going to teach you how perform this process when working with multiple objects (remember that you already learned how to achieve this using only one class instance).

They start simple, showing how to handle one object to give you a base to work from. They modify this to expand it out and show the management instead of three different user data objects.

0 comments voice your opinion now!
php5 tutorial destructor manage multiple object data


blog comments powered by Disqus

Similar Posts

DevShed: PHP 5 Helpers: Calling Methods Out of Object Scope

PHPMaster.com: Under the Hood of Yii's Component Architecture, Part 3

SitePoint.com: Advanced PHPUnit Testing: Annotations and Mocking

Stubbles Blog: Some remarks to serialization without pity

Juan Treminio: Unit Testing Tutorial Part V: Mock Methods and Overriding Constructors


Community Events





Don't see your event here?
Let us know!


tips deployment series introduction podcast opinion list package install language voicesoftheelephpant api bugfix library release community framework laravel interview symfony

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework