openrat-cms

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit ff5062bf5f8971f7d7cc4015428282a49fb96f34
parent 0e79dfa1a965069c3aa1d7359a282e8ac978c092
Author: dankert <devnull@localhost>
Date:   Mon,  3 May 2004 22:21:34 +0200

neu: setObjectId()

Diffstat:
serviceClasses/Api.class.php | 14+++++++++++---
1 file changed, 11 insertions(+), 3 deletions(-)

diff --git a/serviceClasses/Api.class.php b/serviceClasses/Api.class.php @@ -20,7 +20,10 @@ // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. // --------------------------------------------------------------------------- // $Log$ -// Revision 1.2 2004-05-02 15:04:16 dankert +// Revision 1.3 2004-05-03 20:21:34 dankert +// neu: setObjectId() +// +// Revision 1.2 2004/05/02 15:04:16 dankert // Einfügen package-name (@package) // // Revision 1.1 2004/04/24 17:03:29 dankert @@ -39,6 +42,7 @@ class Api { var $output = ''; + var $objectid = 0; function db() { @@ -54,8 +58,12 @@ class Api function getObjectId() { - global $SESS; - return $SESS['objectid']; + return $this->objectid; + } + + function setObjectId( $objectid ) + { + $this->objectid = $objectid; } function getRootObjectId()