library/QATools/QATools/PageObject/PageFactory.php
protected function proxyFields(ISearchContext $search_context, IPropertyDecorator $property_decorator)
	{
		foreach ( $this->getProperties($search_context) as $property ) {
			$proxy = $property_decorator->decorate($property);

			if ( $proxy !== null ) {
				$property->setAccessible(true);
				$property->setValue($search_context, $proxy);
			}
		}

		return $this;
	}
protected function proxyFields(ISearchContext $search_context, IPropertyDecorator $property_decorator)
	{
		foreach ( $this->getProperties($search_context) as $property ) {
			$proxy = $property_decorator->decorate($property);

			if ( $proxy !== null ) {
				$property->setAccessible(true);
				$property->setValue($search_context, $proxy);
			}
		}

		return $this;
	}
protected function proxyFields ( ISearchContext $ search_context , IPropertyDecorator $ property_decorator ) { foreach ( $ this -> getProperties ( $ search_context ) as $ property ) { $ proxy = $ property_decorator -> decorate ( $ property ) ; if ( $ proxy !== null ) { $ property -> setAccessible ( true ) ; $ property -> setValue ( $ search_context , $ proxy ) ; } } return $ this ; }
Initializes fields within given search context.

@param ISearchContext     $search_context     Search context.
@param IPropertyDecorator $property_decorator Property decorator.

@return self
Initializes fields within given search context .