PHP 클래스 ApplicationRouting

부터: 2.0
저자: Tijs Verkoyen ([email protected])
저자: Davy Hellemans ([email protected])
저자: Dieter Vanden Eynde ([email protected])
파일 보기 프로젝트 열기: forkcms/forkcms 1 사용 예제들

공개 메소드들

메소드 설명
apiController ( Request $request ) : Symfony\Component\HttpFoundation\Response Runs the api requests
backendAjaxController ( ) : Symfony\Component\HttpFoundation\Response Runs the backend ajax requests
backendController ( ) : Symfony\Component\HttpFoundation\Response Runs the backend
backendCronjobController ( ) : Symfony\Component\HttpFoundation\Response Runs the cronjobs
frontendAjaxController ( ) : Symfony\Component\HttpFoundation\Response Runs the frontend ajax requests
frontendController ( ) : Symfony\Component\HttpFoundation\Response Runs the frontend requests
getRoutes ( ) : array Get the possible routes

보호된 메소드들

메소드 설명
handleApplication ( ApplicationInterface $application ) : Symfony\Component\HttpFoundation\Response Runs an application and returns the Response
initializeAPI ( string $app, Request $request ) : string
initializeBackend ( string $app ) : string
initializeFrontend ( string $app ) : string

메소드 상세

apiController() 공개 메소드

Runs the api requests
public apiController ( Request $request ) : Symfony\Component\HttpFoundation\Response
$request Symfony\Component\HttpFoundation\Request
리턴 Symfony\Component\HttpFoundation\Response

backendAjaxController() 공개 메소드

Runs the backend ajax requests
public backendAjaxController ( ) : Symfony\Component\HttpFoundation\Response
리턴 Symfony\Component\HttpFoundation\Response

backendController() 공개 메소드

Runs the backend
public backendController ( ) : Symfony\Component\HttpFoundation\Response
리턴 Symfony\Component\HttpFoundation\Response

backendCronjobController() 공개 메소드

Runs the cronjobs
public backendCronjobController ( ) : Symfony\Component\HttpFoundation\Response
리턴 Symfony\Component\HttpFoundation\Response

frontendAjaxController() 공개 메소드

Runs the frontend ajax requests
public frontendAjaxController ( ) : Symfony\Component\HttpFoundation\Response
리턴 Symfony\Component\HttpFoundation\Response

frontendController() 공개 메소드

Runs the frontend requests
public frontendController ( ) : Symfony\Component\HttpFoundation\Response
리턴 Symfony\Component\HttpFoundation\Response

getRoutes() 공개 정적인 메소드

Get the possible routes
public static getRoutes ( ) : array
리턴 array

handleApplication() 보호된 메소드

Runs an application and returns the Response
protected handleApplication ( ApplicationInterface $application ) : Symfony\Component\HttpFoundation\Response
$application ApplicationInterface
리턴 Symfony\Component\HttpFoundation\Response

initializeAPI() 보호된 메소드

protected initializeAPI ( string $app, Request $request ) : string
$app string The name of the application to load (ex. BackendAjax)
$request Symfony\Component\HttpFoundation\Request
리턴 string The name of the application class we need to instantiate.

initializeBackend() 보호된 메소드

protected initializeBackend ( string $app ) : string
$app string The name of the application to load (ex. BackendAjax)
리턴 string The name of the application class we need to instantiate.

initializeFrontend() 보호된 메소드

protected initializeFrontend ( string $app ) : string
$app string The name of the application to load (ex. frontend_ajax)
리턴 string The name of the application class we need to instantiate.