adapter-ckfinder/utils
module
Functions
-
getCookie( name ) → null | stringinternalmodule:adapter-ckfinder/utils~getCookieReturns the value of the cookie with a given name or
nullif the cookie is not found.Parameters
name : string
Returns
null | string
-
getCsrfToken() → stringinternalmodule:adapter-ckfinder/utils~getCsrfTokenReturns the CSRF token value. The value is a hash stored in
document.cookieunder theckCsrfTokenkey. The CSRF token can be used to secure the communication between the web browser and the CKFinder server.Returns
string
-
setCookie( name, value ) → voidinternalmodule:adapter-ckfinder/utils~setCookieSets the value of the cookie with a given name.
Parameters
name : stringvalue : string
Returns
void