classes/phing/PropertyHelper.php
public function copyInheritedProperties(Project $other)
    {
        foreach ($this->inheritedProperties as $arg => $value) {
            if ($other->getUserProperty($arg) !== null) {
                continue;
            }
            $value = $this->inheritedProperties[$arg];
            $other->setInheritedProperty($arg, (string) $value);
        }
    }
public function copyInheritedProperties(Project $other)
    {
        foreach ($this->inheritedProperties as $arg => $value) {
            if ($other->getUserProperty($arg) !== null) {
                continue;
            }
            $value = $this->inheritedProperties[$arg];
            $other->setInheritedProperty($arg, (string) $value);
        }
    }
public function copyInheritedProperties ( Project $ other ) { foreach ( $ this -> inheritedProperties as $ arg => $ value ) { if ( $ other -> getUserProperty ( $ arg ) !== null ) { continue ; } $ value = $ this -> inheritedProperties [ $ arg ] ; $ other -> setInheritedProperty ( $ arg , ( string ) $ value ) ; } }
Copies all user properties that have not been set on the
command line or a GUI tool from this instance to the Project
instance given as the argument.

<p>To copy all "user" properties, you will also have to call
{@link #copyUserProperties copyUserProperties}.</p>

@param Project $other the project to copy the properties to.  Must not be null.
Copies all user properties that have not been set on the command line or a GUI tool from this instance to the Project instance given as the argument .