Esempio n. 1
0
 /**
  * @inheritdoc
  */
 public function tabs()
 {
     $tabs = parent::tabs();
     $tabs[self::SEO_TAB] = Yii::t('main/app', "SEO");
     $tabs[self::IMAGE_TAB] = Yii::t('main/app', "Image");
     return $tabs;
 }
Esempio n. 2
0
 /**
  * @inheritdoc
  */
 protected function defaultConfig()
 {
     $arr = parent::defaultConfig();
     $arr['active']['definition']['showInTableInput'] = false;
     $arr['author_id']['definition']['showInTableInput'] = false;
     return $arr;
 }
Esempio n. 3
0
 /**
  * @inheritdoc
  */
 public function tabs()
 {
     $tabs = parent::tabs();
     $tabs[self::SEO_TAB] = Yii::t('news/app', "SEO");
     return $tabs;
 }