PHP 클래스 Jarves\Controller\ObjectCrudController

상속: extends Jarves\Admin\ObjectCrud
파일 보기 프로젝트 열기: jarves/jarves

공개 메소드들

메소드 설명
addItemAction ( Request $request, FOS\RestBundle\Request\ParamFetcher $paramFetcher ) : mixed
addMultipleItemAction ( Request $request ) : mixed
getCountAction ( array $filter = null, string $q = null ) : integer
getInfoAction ( ) : array
getItemAction ( Request $request, string $fields = null, boolean $withAcl = null ) : array
getItemPositionAction ( Request $request ) : array
getItemsAction ( FOS\RestBundle\Request\ParamFetcher $paramFetcher ) : mixed
getObject ( )
getVersionAction ( $pk, $id ) }
getVersionsAction ( $pk )
patchItemAction ( Request $request ) : mixed
removeItemAction ( Request $request ) : boolean
removeMultipleAction ( Request $request ) : boolean
updateItemAction ( Request $request ) : mixed

보호된 메소드들

메소드 설명
detectObjectKeyFromRoute ( ) : string When ObjectCrudController is without custom sub class used, then we need to get the object information from the route, defined in Jarves\Router\RestApiLoader
extractPrimaryKey ( Request $request ) : array

메소드 상세

addItemAction() 공개 메소드

public addItemAction ( Request $request, FOS\RestBundle\Request\ParamFetcher $paramFetcher ) : mixed
$request Symfony\Component\HttpFoundation\Request
$paramFetcher FOS\RestBundle\Request\ParamFetcher
리턴 mixed

addMultipleItemAction() 공개 메소드

public addMultipleItemAction ( Request $request ) : mixed
$request Symfony\Component\HttpFoundation\Request
리턴 mixed

detectObjectKeyFromRoute() 보호된 메소드

When ObjectCrudController is without custom sub class used, then we need to get the object information from the route, defined in Jarves\Router\RestApiLoader
protected detectObjectKeyFromRoute ( ) : string
리턴 string

extractPrimaryKey() 보호된 메소드

protected extractPrimaryKey ( Request $request ) : array
$request Symfony\Component\HttpFoundation\Request
리턴 array

getCountAction() 공개 메소드

public getCountAction ( array $filter = null, string $q = null ) : integer
$filter array
$q string
리턴 integer

getInfoAction() 공개 메소드

public getInfoAction ( ) : array
리턴 array

getItemAction() 공개 메소드

public getItemAction ( Request $request, string $fields = null, boolean $withAcl = null ) : array
$request Symfony\Component\HttpFoundation\Request
$fields string
$withAcl boolean
리턴 array

getItemPositionAction() 공개 메소드

public getItemPositionAction ( Request $request ) : array
$request Symfony\Component\HttpFoundation\Request
리턴 array

getItemsAction() 공개 메소드

public getItemsAction ( FOS\RestBundle\Request\ParamFetcher $paramFetcher ) : mixed
$paramFetcher FOS\RestBundle\Request\ParamFetcher
리턴 mixed

getObject() 공개 메소드

public getObject ( )

getVersionAction() 공개 메소드

}
public getVersionAction ( $pk, $id )

getVersionsAction() 공개 메소드

public getVersionsAction ( $pk )

patchItemAction() 공개 메소드

public patchItemAction ( Request $request ) : mixed
$request Symfony\Component\HttpFoundation\Request
리턴 mixed

removeItemAction() 공개 메소드

public removeItemAction ( Request $request ) : boolean
$request Symfony\Component\HttpFoundation\Request
리턴 boolean

removeMultipleAction() 공개 메소드

public removeMultipleAction ( Request $request ) : boolean
$request Symfony\Component\HttpFoundation\Request
리턴 boolean

updateItemAction() 공개 메소드

public updateItemAction ( Request $request ) : mixed
$request Symfony\Component\HttpFoundation\Request
리턴 mixed