src/POData/Providers/Expression/PHPExpressionProvider.php
/**
     * Call-back for property access expression
     * 
     * @param PropertyAccessExpression $expression The property access expression
     * 
     * @return string
     */
Call-back for property access expression

@param PropertyAccessExpression $expression The property access expression

@return string
Call - back for property access expression @param PropertyAccessExpression $expression The property access expression @return string
public function onPropertyAccessExpression($expression)
    {
        $parent = $expression;
        $variable = null;
        do {
            $variable = $parent->getResourceProperty()->getName() . self::MEMBER_ACCESS . $variable;
            $parent = $parent->getParent();
        } while ($parent != null);
        $variable = rtrim($variable, self::MEMBER_ACCESS);
        $variable = $this->getIteratorName() . self::MEMBER_ACCESS . $variable;
        return $variable;
    }
public function onPropertyAccessExpression ( $ expression ) { $ parent = $ expression ; $ variable = null ; do { $ variable = $ parent -> getResourceProperty ( ) -> getName ( ) . self :: MEMBER_ACCESS . $ variable ; $ parent = $ parent -> getParent ( ) ; } while ( $ parent != null ) ; $ variable = rtrim ( $ variable , self :: MEMBER_ACCESS ) ; $ variable = $ this -> getIteratorName ( ) . self :: MEMBER_ACCESS . $ variable ; return $ variable ; }
Call-back for property access expression
Call - back for property access expression