public function calculateHash($recursive = false) {
        if (!$this->loaded) {
            $this->hash = null;
        } else {
            $key = $this->unique . implode (', ', $this->fields) . implode (', ', $this->hints);
            $this->hash = md5($key);
        }
    }
public function calculateHash($recursive = false) {
        if (!$this->loaded) {
            $this->hash = null;
        } else {
            $key = $this->unique . implode (', ', $this->fields) . implode (', ', $this->hints);
            $this->hash = md5($key);
        }
    }
public function calculateHash ( $ recursive = false ) { if ( ! $ this -> loaded ) { $ this -> hash = null ; } else { $ key = $ this -> unique . implode ( ', ' , $ this -> fields ) . implode ( ', ' , $ this -> hints ) ; $ this -> hash = md5 ( $ key ) ; } }
This function calculate and set the hash of one xmldb_index
@retur nvoid, changes $this->hash
This function calculate and set the hash of one xmldb_index