SwatDB/SwatDBDataObject.php
private function getProtectedProperties()
    {
        $properties = array();
        foreach ($this->getProtectedPropertyList() as $property => $accessors) {
            // Use the getter for the property.
            $properties[$property] = $this->{$accessors['get']}();
        }

        return $properties;
    }
private function getProtectedProperties()
    {
        $properties = array();
        foreach ($this->getProtectedPropertyList() as $property => $accessors) {
            // Use the getter for the property.
            $properties[$property] = $this->{$accessors['get']}();
        }

        return $properties;
    }
private function getProtectedProperties ( ) { $ properties = array ( ) ; foreach ( $ this -> getProtectedPropertyList ( ) as $ property => $ accessors ) { // Use the getter for the property. $ properties [ $ property ] = $ this -> { $ accessors [ 'get' ] } ( ) ; } return $ properties ; }
Gets the protected properties of this data-object using the getter
accessor.

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 protected properties of this data - object using the getter accessor .