classes/phing/PropertyHelper.php
public function getPropertyHook($ns, $name, $user)
    {
        if ($this->getNext() !== null) {
            $o = $this->getNext()->getPropertyHook($ns, $name, $user);
            if ($o !== null) {
                return $o;
            }
        }

        if (self::$project !== null && StringHelper::startsWith('toString:', $name)) {
            $name = StringHelper::substring($name, strlen('toString:'));
            $v = self::$project->getReference($name);
            return ($v === null) ? null : (string) $v;
        }

        return null;
    }
public function getPropertyHook($ns, $name, $user)
    {
        if ($this->getNext() !== null) {
            $o = $this->getNext()->getPropertyHook($ns, $name, $user);
            if ($o !== null) {
                return $o;
            }
        }

        if (self::$project !== null && StringHelper::startsWith('toString:', $name)) {
            $name = StringHelper::substring($name, strlen('toString:'));
            $v = self::$project->getReference($name);
            return ($v === null) ? null : (string) $v;
        }

        return null;
    }
public function getPropertyHook ( $ ns , $ name , $ user ) { if ( $ this -> getNext ( ) !== null ) { $ o = $ this -> getNext ( ) -> getPropertyHook ( $ ns , $ name , $ user ) ; if ( $ o !== null ) { return $ o ; } } if ( self :: $ project !== null && StringHelper :: startsWith ( 'toString:' , $ name ) ) { $ name = StringHelper :: substring ( $ name , strlen ( 'toString:' ) ) ; $ v = self :: $ project -> getReference ( $ name ) ; return ( $ v === null ) ? null : ( string ) $ v ; } return null ; }
Get a property. If all hooks return null, the default
tables will be used.

@param  string $ns namespace of the sought property.
@param  string $name name of the sought property.
@param  bool $user True if this is a user property.
@return string The property, if returned by a hook, or null if none.
Get a property . If all hooks return null the default tables will be used .