Editable::registerJQueryUI PHP Method

registerJQueryUI() protected method

method to register jQuery UI with build-in or custom theme
protected registerJQueryUI ( )
    protected function registerJQueryUI()
    {
        $cs = Yii::app()->getClientScript();
        if ($this->themeUrl === null) {
            $this->themeUrl = $cs->getCoreScriptUrl() . '/jui/css';
        }
        $cs->registerCssFile($this->themeUrl . '/' . $this->theme . '/' . $this->cssFile);
        $cs->registerPackage('jquery.ui');
    }