public function setBuildProperties($props)
    {
        $this->buildProperties = array();

        $renamedPropelProps = array();
        foreach ($props as $key => $propValue) {
            if (strpos($key, "propel.") === 0) {
                $newKey = substr($key, strlen("propel."));
                $j = strpos($newKey, '.');
                while ($j !== false) {
                    $newKey = substr($newKey, 0, $j) . ucfirst(substr($newKey, $j + 1));
                    $j = strpos($newKey, '.');
                }
                $this->setBuildProperty($newKey, $propValue);
            }
        }
    }
public function setBuildProperties($props)
    {
        $this->buildProperties = array();

        $renamedPropelProps = array();
        foreach ($props as $key => $propValue) {
            if (strpos($key, "propel.") === 0) {
                $newKey = substr($key, strlen("propel."));
                $j = strpos($newKey, '.');
                while ($j !== false) {
                    $newKey = substr($newKey, 0, $j) . ucfirst(substr($newKey, $j + 1));
                    $j = strpos($newKey, '.');
                }
                $this->setBuildProperty($newKey, $propValue);
            }
        }
    }
public function setBuildProperties ( $ props ) { $ this -> buildProperties = array ( ) ; $ renamedPropelProps = array ( ) ; foreach ( $ props as $ key => $ propValue ) { if ( strpos ( $ key , "propel." ) === 0 ) { $ newKey = substr ( $ key , strlen ( "propel." ) ) ; $ j = strpos ( $ newKey , '.' ) ; while ( $ j !== false ) { $ newKey = substr ( $ newKey , 0 , $ j ) . ucfirst ( substr ( $ newKey , $ j + 1 ) ) ; $ j = strpos ( $ newKey , '.' ) ; } $ this -> setBuildProperty ( $ newKey , $ propValue ) ; } } }
Parses the passed-in properties, renaming and saving eligible properties in this object.

Renames the propel.xxx properties to just xxx and renames any xxx.yyy properties
to xxxYyy as PHP doesn't like the xxx.yyy syntax.

@param mixed $props Array or Iterator
Parses the passed - in properties renaming and saving eligible properties in this object .