PHP 클래스 CKFinder_Connector_CommandHandler_CommandHandlerBase

파일 보기 프로젝트 열기: forkcms/forkcms

보호된 프로퍼티들

프로퍼티 타입 설명
$_connector CKFinder_Connector_Core_Connector CKFinder_Connector_Core_Connector object
$_currentFolder CKFinder_Connector_Core_FolderHandler CKFinder_Connector_Core_FolderHandler object
$_errorHandler CKFinder_Connector_ErrorHandler_Base | CKFinder_Connector_ErrorHandler_FileUpload | CKFinder_Connector_ErrorHandler_Http Error handler object

공개 메소드들

메소드 설명
__construct ( )
getFolderHandler ( ) : CKFinder_Connector_Core_FolderHandler Get Folder Handler

보호된 메소드들

메소드 설명
checkConnector ( ) Check whether Connector is enabled
checkCsrfToken ( string $tokenParamName = 'ckCsrfToken', string $tokenCookieName = 'ckCsrfToken', integer $minTokenLength = 32 ) : boolean Checks if the request contains a valid token that matches the value sent in the cookie.
checkRequest ( ) Check request

메소드 상세

__construct() 공개 메소드

public __construct ( )

checkConnector() 보호된 메소드

Check whether Connector is enabled
protected checkConnector ( )

checkCsrfToken() 보호된 메소드

Checks if the request contains a valid token that matches the value sent in the cookie.
또한 보기: https://www.owasp.org/index.php/Cross-Site_Request_Forgery_(CSRF)_Prevention_Cheat_Sheet#Double_Submit_Cookies
protected checkCsrfToken ( string $tokenParamName = 'ckCsrfToken', string $tokenCookieName = 'ckCsrfToken', integer $minTokenLength = 32 ) : boolean
$tokenParamName string
$tokenCookieName string
$minTokenLength integer
리턴 boolean true if token is valid, false otherwise

checkRequest() 보호된 메소드

Check request
protected checkRequest ( )

getFolderHandler() 공개 메소드

Get Folder Handler
public getFolderHandler ( ) : CKFinder_Connector_Core_FolderHandler
리턴 CKFinder_Connector_Core_FolderHandler

프로퍼티 상세

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

CKFinder_Connector_Core_Connector object
protected CKFinder_Connector_Core_Connector $_connector
리턴 CKFinder_Connector_Core_Connector

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

CKFinder_Connector_Core_FolderHandler object
protected CKFinder_Connector_Core_FolderHandler $_currentFolder
리턴 CKFinder_Connector_Core_FolderHandler

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

Error handler object
protected CKFinder_Connector_ErrorHandler_Base|CKFinder_Connector_ErrorHandler_FileUpload|CKFinder_Connector_ErrorHandler_Http $_errorHandler
리턴 CKFinder_Connector_ErrorHandler_Base | CKFinder_Connector_ErrorHandler_FileUpload | CKFinder_Connector_ErrorHandler_Http