예제 #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;
 }
예제 #2
0
 /**
  * @inheritdoc
  */
 protected function defaultConfig()
 {
     $arr = parent::defaultConfig();
     $arr['active']['definition']['showInTableInput'] = false;
     $arr['author_id']['definition']['showInTableInput'] = false;
     return $arr;
 }
예제 #3
0
 /**
  * @inheritdoc
  */
 public function tabs()
 {
     $tabs = parent::tabs();
     $tabs[self::SEO_TAB] = Yii::t('news/app', "SEO");
     return $tabs;
 }