Changeset 14591 for branches/dev


Ignore:
Timestamp:
2007/06/11 23:38:32 (19 years ago)
Author:
adati
Message:

clearメソッドを追加

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/dev/data/class/SC_Query.php

    r13344 r14591  
    7676        } 
    7777        return false; 
     78    } 
     79     
     80    /** 
     81     *  ¥ª¥×¥·¥ç¥ó¤Î½é´ü²½ 
     82     * 
     83     *  @access public 
     84     *  @return void 
     85     */ 
     86    function clear(){ 
     87        $arrProperty = array_keys((get_object_vars($this))); 
     88        foreach ( $arrProperty as $property ) { 
     89            if ($property != 'conn') { 
     90                $this->$property = ''; 
     91            } 
     92        } 
    7893    } 
    7994     
Note: See TracChangeset for help on using the changeset viewer.