SwatDB/SwatDBDataObject.php
protected function generatePropertyHash($property)
    {
        if ($this->read_only) {
            return;
        }

        $property_array = $this->getProperties();

        if (isset($property_array[$property])) {
            $hashed_value = $this->getHashValue($property_array[$property]);
            $this->property_hashes[$property] = $hashed_value;
        }
    }
protected function generatePropertyHash($property)
    {
        if ($this->read_only) {
            return;
        }

        $property_array = $this->getProperties();

        if (isset($property_array[$property])) {
            $hashed_value = $this->getHashValue($property_array[$property]);
            $this->property_hashes[$property] = $hashed_value;
        }
    }
protected function generatePropertyHash ( $ property ) { if ( $ this -> read_only ) { return ; } $ property_array = $ this -> getProperties ( ) ; if ( isset ( $ property_array [ $ property ] ) ) { $ hashed_value = $ this -> getHashValue ( $ property_array [ $ property ] ) ; $ this -> property_hashes [ $ property ] = $ hashed_value ; } }
Generates the MD5 hash for a property of this object

@param string $property the name of the property for which to generate
the hash.
Generates the MD5 hash for a property of this object