trait AjaxHelperTrait (View source)

internal  
 

Provides a helper to determine if the current request is via AJAX.

Methods

bool
isAjax()

Determines if the current request is via AJAX.

getRequestWrapperFormat()

Gets the wrapper format of the current request.

Details

protected bool isAjax()

Determines if the current request is via AJAX.

Return Value

bool

TRUE if the current request is via AJAX, FALSE otherwise.

protected getRequestWrapperFormat()

Gets the wrapper format of the current request.