SwatDB/SwatDBDataObject.php
private function getSerializableProtectedProperties()
    {
        $properties = array();
        foreach ($this->getProtectedPropertyList() as $property => $accessors) {
            // We want to maintain what is internally stored in this object so
            // we don't want to use the getter. What the getter returns
            // publicly may be different than what we have internally.
            $properties[$property] = $this->$property;
        }

        return $properties;
    }
private function getSerializableProtectedProperties()
    {
        $properties = array();
        foreach ($this->getProtectedPropertyList() as $property => $accessors) {
            // We want to maintain what is internally stored in this object so
            // we don't want to use the getter. What the getter returns
            // publicly may be different than what we have internally.
            $properties[$property] = $this->$property;
        }

        return $properties;
    }
private function getSerializableProtectedProperties ( ) { $ properties = array ( ) ; foreach ( $ this -> getProtectedPropertyList ( ) as $ property => $ accessors ) { // We want to maintain what is internally stored in this object so // we don't want to use the getter. What the getter returns // publicly may be different than what we have internally. $ properties [ $ property ] = $ this -> $ property ; } return $ properties ; }
Gets the serializable protected properties of this data-object.

Protected properties should correspond directly to database fields.

@return array a reference to an associative array of protected properties
of this data-object. The array is of the form
'property name' => 'property value'.
Gets the serializable protected properties of this data - object .