PHP 클래스 Neos\FluidAdaptor\Core\Widget\AjaxWidgetComponent

상속: extends Neos\Flow\Mvc\DispatchComponent
파일 보기 프로젝트 열기: neos/flow-development-collection 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$ajaxWidgetContextHolder AjaxWidgetContextHolder
$hashService Neos\Flow\Security\Cryptography\HashService

공개 메소드들

메소드 설명
handle ( ComponentContext $componentContext ) : void Check if the current request contains a widget context.

보호된 메소드들

메소드 설명
extractWidgetContext ( Request $httpRequest ) : WidgetContext Extracts the WidgetContext from the given $httpRequest.

메소드 상세

extractWidgetContext() 보호된 메소드

If the request contains an argument "__widgetId" the context is fetched from the session (AjaxWidgetContextHolder). Otherwise the argument "__widgetContext" is expected to contain the serialized WidgetContext (protected by a HMAC suffix)
protected extractWidgetContext ( Request $httpRequest ) : WidgetContext
$httpRequest Neos\Flow\Http\Request
리턴 WidgetContext

handle() 공개 메소드

If so dispatch it directly, otherwise continue with the next HTTP component.
public handle ( ComponentContext $componentContext ) : void
$componentContext Neos\Flow\Http\Component\ComponentContext
리턴 void

프로퍼티 상세

$ajaxWidgetContextHolder 보호되어 있는 프로퍼티

protected AjaxWidgetContextHolder,Neos\FluidAdaptor\Core\Widget $ajaxWidgetContextHolder
리턴 AjaxWidgetContextHolder

$hashService 보호되어 있는 프로퍼티

protected HashService,Neos\Flow\Security\Cryptography $hashService
리턴 Neos\Flow\Security\Cryptography\HashService