PHP 클래스 Sylius\Bundle\ResourceBundle\Controller\RequestConfiguration

저자: Paweł Jędrzejewski ([email protected])
저자: Saša Stamenković ([email protected])
저자: Gustavo Perdomo ([email protected])
파일 보기 프로젝트 열기: sylius/sylius 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( Sylius\Component\Resource\Metadata\MetadataInterface $metadata, Request $request, Parameters $parameters )
getCriteria ( array $criteria = [] ) : array
getDefaultTemplate ( $name ) : null | string
getEvent ( ) : string | null
getFactoryArguments ( ) : array
getFactoryMethod ( ) : string | null
getFlashMessage ( null $message ) : mixed | null
getFormOptions ( ) : array
getFormType ( ) : string | null
getGrid ( ) : string
getLimit ( ) : integer | null
getMetadata ( ) : Sylius\Component\Resource\Metadata\MetadataInterface
getPaginationMaxPerPage ( ) : integer
getParameters ( ) : Parameters
getPermission ( string $name ) : string
getRedirectHash ( ) : null | string Get url hash fragment (#text) which is you configured.
getRedirectParameters ( object | null $resource = null ) : array
getRedirectReferer ( ) : null | string Get redirect referer, This will detected by configuration If not exists, The referrer from headers will be used.
getRedirectRoute ( $name ) : mixed | null | string
getRepositoryArguments ( ) : array
getRepositoryMethod ( ) : string | null
getRequest ( ) : Request
getRequestParameter ( $parameter, array $defaults = [] ) : array
getRouteName ( $name ) : string
getSection ( ) : string | null
getSerializationGroups ( ) : mixed | null
getSerializationVersion ( ) : mixed | null
getSortablePosition ( ) : mixed | null
getSorting ( array $sorting = [] ) : array
getStateMachineGraph ( ) : string
getStateMachineTransition ( ) : string
getTemplate ( $name ) : mixed | null
getVars ( )
hasGrid ( ) : boolean
hasPermission ( ) : boolean
hasStateMachine ( ) : boolean
isCsrfProtectionEnabled ( ) : boolean
isFilterable ( ) : boolean
isHeaderRedirection ( ) : boolean
isHtmlRequest ( ) : boolean
isLimited ( ) : boolean
isPaginated ( ) : boolean
isSortable ( ) : boolean

비공개 메소드들

메소드 설명
areParametersIntentionallyEmptyArray ( mixed $redirect ) : boolean
parseResourceValues ( array $parameters, object $resource ) : array

메소드 상세

__construct() 공개 메소드

public __construct ( Sylius\Component\Resource\Metadata\MetadataInterface $metadata, Request $request, Parameters $parameters )
$metadata Sylius\Component\Resource\Metadata\MetadataInterface
$request Symfony\Component\HttpFoundation\Request
$parameters Parameters

getCriteria() 공개 메소드

public getCriteria ( array $criteria = [] ) : array
$criteria array
리턴 array

getDefaultTemplate() 공개 메소드

public getDefaultTemplate ( $name ) : null | string
$name
리턴 null | string

getEvent() 공개 메소드

public getEvent ( ) : string | null
리턴 string | null

getFactoryArguments() 공개 메소드

public getFactoryArguments ( ) : array
리턴 array

getFactoryMethod() 공개 메소드

public getFactoryMethod ( ) : string | null
리턴 string | null

getFlashMessage() 공개 메소드

public getFlashMessage ( null $message ) : mixed | null
$message null
리턴 mixed | null

getFormOptions() 공개 메소드

public getFormOptions ( ) : array
리턴 array

getFormType() 공개 메소드

public getFormType ( ) : string | null
리턴 string | null

getGrid() 공개 메소드

public getGrid ( ) : string
리턴 string

getLimit() 공개 메소드

public getLimit ( ) : integer | null
리턴 integer | null

getMetadata() 공개 메소드

public getMetadata ( ) : Sylius\Component\Resource\Metadata\MetadataInterface
리턴 Sylius\Component\Resource\Metadata\MetadataInterface

getPaginationMaxPerPage() 공개 메소드

getParameters() 공개 메소드

public getParameters ( ) : Parameters
리턴 Parameters

getPermission() 공개 메소드

public getPermission ( string $name ) : string
$name string
리턴 string

getRedirectHash() 공개 메소드

Get url hash fragment (#text) which is you configured.
public getRedirectHash ( ) : null | string
리턴 null | string

getRedirectParameters() 공개 메소드

public getRedirectParameters ( object | null $resource = null ) : array
$resource object | null
리턴 array

getRedirectReferer() 공개 메소드

Get redirect referer, This will detected by configuration If not exists, The referrer from headers will be used.
public getRedirectReferer ( ) : null | string
리턴 null | string

getRedirectRoute() 공개 메소드

public getRedirectRoute ( $name ) : mixed | null | string
$name
리턴 mixed | null | string

getRepositoryArguments() 공개 메소드

public getRepositoryArguments ( ) : array
리턴 array

getRepositoryMethod() 공개 메소드

public getRepositoryMethod ( ) : string | null
리턴 string | null

getRequest() 공개 메소드

public getRequest ( ) : Request
리턴 Symfony\Component\HttpFoundation\Request

getRequestParameter() 공개 메소드

public getRequestParameter ( $parameter, array $defaults = [] ) : array
$parameter
$defaults array
리턴 array

getRouteName() 공개 메소드

public getRouteName ( $name ) : string
$name
리턴 string

getSection() 공개 메소드

public getSection ( ) : string | null
리턴 string | null

getSerializationGroups() 공개 메소드

public getSerializationGroups ( ) : mixed | null
리턴 mixed | null

getSerializationVersion() 공개 메소드

public getSerializationVersion ( ) : mixed | null
리턴 mixed | null

getSortablePosition() 공개 메소드

public getSortablePosition ( ) : mixed | null
리턴 mixed | null

getSorting() 공개 메소드

public getSorting ( array $sorting = [] ) : array
$sorting array
리턴 array

getStateMachineGraph() 공개 메소드

public getStateMachineGraph ( ) : string
리턴 string

getStateMachineTransition() 공개 메소드

getTemplate() 공개 메소드

public getTemplate ( $name ) : mixed | null
$name
리턴 mixed | null

getVars() 공개 메소드

public getVars ( )

hasGrid() 공개 메소드

public hasGrid ( ) : boolean
리턴 boolean

hasPermission() 공개 메소드

public hasPermission ( ) : boolean
리턴 boolean

hasStateMachine() 공개 메소드

public hasStateMachine ( ) : boolean
리턴 boolean

isCsrfProtectionEnabled() 공개 메소드

isFilterable() 공개 메소드

public isFilterable ( ) : boolean
리턴 boolean

isHeaderRedirection() 공개 메소드

public isHeaderRedirection ( ) : boolean
리턴 boolean

isHtmlRequest() 공개 메소드

public isHtmlRequest ( ) : boolean
리턴 boolean

isLimited() 공개 메소드

public isLimited ( ) : boolean
리턴 boolean

isPaginated() 공개 메소드

public isPaginated ( ) : boolean
리턴 boolean

isSortable() 공개 메소드

public isSortable ( ) : boolean
리턴 boolean