Example #1
0
 /**
  * @return $this
  */
 protected function _endPjax()
 {
     if ($this->_pjaxIsStart === true) {
         $className = $this->pjax->className();
         $className::end();
     }
     return $this;
 }
Example #2
0
<?php

\Yii::$container->set(\yii\widgets\Pjax::className(), ["timeout" => false]);
\Yii::$container->set(\mcms\xeditable\XEditableAsset::className(), ["publishOptions" => ['forceCopy' => false]]);
\Yii::$container->set(\yii\jui\DatePicker::className(), ['language' => "ru", "dateFormat" => "yyyy-MM-dd"]);
\Yii::$container->set(\mcms\xeditable\XEditableColumn::className(), ['editable' => null]);