Inheritance: extends Component, implements yii\base\ViewContextInterface, use trait skeeks\cms\traits\WidgetTrait
Exemplo n.º 1
0
 /**
  * @return array
  */
 public function getCallableData()
 {
     $attributes = parent::getCallableData();
     if (!$attributes['attributes']['text']) {
         $attributes['attributes']['text'] = $this->_obContent;
     }
     return $attributes;
 }
Exemplo n.º 2
0
 public function rules()
 {
     return ArrayHelper::merge(parent::rules(), [[['viewFile'], 'string']]);
 }
Exemplo n.º 3
0
 public function rules()
 {
     return ArrayHelper::merge(parent::rules(), [['text', 'string']]);
 }