Download the PHP package smak/yii-csol without Composer
On this page you can find all versions of the php package smak/yii-csol. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download smak/yii-csol
More information about smak/yii-csol
Files in smak/yii-csol
Download smak/yii-csol
More information about smak/yii-csol
Files in smak/yii-csol
Vendor smak
Package yii-csol
Short Description Implement Object Literal methods for client script Yii
License GPL
Package yii-csol
Short Description Implement Object Literal methods for client script Yii
License GPL
Keywords yiiclientscript
Please rate this library. Is it a good library?
Informations about the package yii-csol
Yii ClientScript ObjectLiteral
Using objects for organize your client script code. The implementation of the basic methods Object Literal for framework Yii CClientScript.
Read more about this:
- Markup-based unobtrusive comprehensive DOM-ready execution
- Show love to the object literal
- Использование объектов для красивой структуры кода в JavaScript
Installation
Composer
composer require smak/yii-csol
Add to protected/config/main.php
'components' => array(
...
'clientScript' => array(
'class' => 'ext.yii-csol.YiiCSOL',
'revisionFile' => 'clienscript.rev',
'coreScriptPosition' => CClientScript::POS_END, // Optional. Required Yii >= 1.1.11
'defaultScriptFilePosition' => CClientScript::POS_END // Optional. Required Yii >= 1.1.11
),
)
API
YiiCSOL::registerScriptInit($module = null, $controller = null, $action = null, $position=self::POS_READY, $data = array())
Yii::app()->clientScript->registerScriptInit();
YiiCSOL::registerScriptData($name, $data)
Yii::app()->clientScript->registerScriptData();
YiiCSOL::registerCssFile($url, $media='')
Yii::app()->clientScript->registerCssFile();
YiiCSOL::registerScriptFile($url, $position = null, $isRevision = true)
Yii::app()->clientScript->registerScriptFile();
YiiCSOL::getRevision()
Yii::app()->clientScript->getRevision();
All versions of yii-csol with dependencies
PHP Build Version
Package Version
No informations.
The package smak/yii-csol contains the following files
Loading the files please wait ....