Changeset 144

Show
Ignore:
Timestamp:
09/06/07 00:30:59 (16 months ago)
Author:
chris
Message:

Renamed Multi-call functions and added a cancel function 6

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/classes/HellaController.php

    r137 r144  
    277277                } 
    278278 
    279                 public function endMultiCall() { 
     279                public function multiCallCommit() { 
     280                /** 
     281                 *  Commits a multi-call transaction, sending all commands to the 
     282                 *  XML-RPC server. 
     283                 */ 
    280284                        // Perform some sanity checking before proceeding 
    281285                        if (!$this->multiCall) { 
     
    317321                } 
    318322 
    319                 public function beginMultiCall() { 
     323                public function multiCallCancel() { 
     324                /** 
     325                 *  Ends a multi call without committing any changes 
     326                 */ 
     327                        $this->calls = array(); 
     328                        $this->multiCall = false; 
     329                } 
     330 
     331                public function multiCallStart() { 
    320332                /** 
    321333                 *      Begins a multiple call transaction