note 49187 added to ref.classobj

From: Date: Wed, 19 Jan 2005 12:56:01 +0000
Subject: note 49187 added to ref.classobj
Groups: php.notes 
Request: Send a blank email to php-notes+get-83620@lists.php.net to get a copy of this message
Need some help: As i see it the are two ways that info in an object could be used from one page to the next. One is to pass the value via the url or a cookie. eg:</font> class someThing{ functions thing(){} ... } $obj = new thing(); echo "<a href="thisPage.php?ojbect=".$obj."">next</a>"; * this dose not work, my gues is that it need to passed by reference. The second way, i think, is to store the object on the server and just pass the reference to it's location. Any Ideas? ---- Manual Page -- http://www.php.net/manual/en/ref.classobj.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+49187 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+49187&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+49187&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+49187&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+49187&report=yes&reason=useless Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+49187&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+49187&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#83620) next »