/[cvs]/nfo/php/libs/org.netfrag.flib/Tracker/User.php
ViewVC logotype

Diff of /nfo/php/libs/org.netfrag.flib/Tracker/User.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.13 by joko, Fri Apr 4 02:15:09 2003 UTC revision 1.14 by joko, Wed Jul 2 11:02:09 2003 UTC
# Line 13  Line 13 
13  //    $Id$  //    $Id$
14  //    -----------------------------------------------------------------------------  //    -----------------------------------------------------------------------------
15  //    $Log$  //    $Log$
16    //    Revision 1.14  2003/07/02 11:02:09  joko
17    //    + fixed bug with create/_create
18    //
19  //    Revision 1.13  2003/04/04 02:15:09  joko  //    Revision 1.13  2003/04/04 02:15:09  joko
20  //    renamed method of helper object  //    renamed method of helper object
21  //  //
# Line 177  class User { Line 180  class User {
180        
181    function create() {    function create() {
182     $this->_save();     $this->_save();
183     $attr = $this->pObject->getAttributes();     $attr = $this->pObject->getResult();
184     //print DumpVar($attr);     //print DumpVar($attr);
185     $this->_create($attr);     $this->_create($attr);
186    }    }
187    
188    function _create($result) {    function _create($result) {
189        global $site;
190      //print "saving to backend: " . dumpVar($result) . "<br>";      //print "saving to backend: " . dumpVar($result) . "<br>";
191      $response = $this->pObject->backend->send('createUser', array('data' => $result) );      $response = $this->pObject->backend->send('createUser', array('data' => $result) );
192      $objectId = $response[oid];      $objectId = $response[oid];

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.14

MailToCvsAdmin">MailToCvsAdmin
ViewVC Help
Powered by ViewVC 1.1.26 RSS 2.0 feed