Prado\Data\SqlMap\Configuration\TSqlMapXmlConfigBuilder::setObjectPropFromNode PHP Метод

setObjectPropFromNode() защищенный Метод

For each attributes (excluding attribute named in $except) set the property of the $obj given by the name of the attribute with the value of the attribute.
protected setObjectPropFromNode ( $obj, $node, $except = [] )
    protected function setObjectPropFromNode($obj, $node, $except = array())
    {
        foreach ($node->attributes() as $name => $value) {
            if (!in_array($name, $except)) {
                if ($obj->canSetProperty($name)) {
                    $obj->{$name} = (string) $value;
                } else {
                    throw new TSqlMapConfigurationException('sqlmap_invalid_property', $name, get_class($obj), $node, $this->getConfigFile());
                }
            }
        }
    }