Class kartik\select2\Select2Asset

Inheritancekartik\select2\Select2Asset » kartik\base\AssetBundle » yii\web\AssetBundle
Available since version1.0

Asset bundle for Select2 Widget

Public Methods

Hide inherited methods

MethodDescriptionDefined By
addLanguage() Adds a language JS locale file kartik\base\AssetBundle
init() kartik\select2\Select2Asset

Protected Methods

Hide inherited methods

MethodDescriptionDefined By
setSourcePath() Sets the source path if empty kartik\base\AssetBundle
setupAssets() Set up CSS and JS asset arrays based on the base-file names kartik\base\AssetBundle

Constants

Hide inherited constants

ConstantValueDescriptionDefined By
EMPTY_ASSET 'N0/@$$3T$' Unique value to set an empty asset via Yii AssetManager configuration. kartik\base\AssetBundle
EMPTY_PATH 'N0/P@T#' Unique value to set an empty asset file path via Yii AssetManager configuration. kartik\base\AssetBundle
KRAJEE_ASSET 'K3/@$$3T$' Unique value identifying a Krajee asset kartik\base\AssetBundle
KRAJEE_PATH 'K3/P@T#' Unique value identifying a Krajee asset file path kartik\base\AssetBundle

Method Details

init() public method

public void init ( )