コード例 #1
0
 /**
  * @inheritdoc
  */
 public function get($name, $default = null)
 {
     if ($this->isFixed($name)) {
         return Yii::$app->params['fixed-settings'][$this->moduleId][$name];
     }
     return parent::get($name, $default);
 }
コード例 #2
0
 /**
  * @inheritdoc
  */
 protected function getCacheKey()
 {
     return parent::getCacheKey() . '-' . $this->contentContainer->id;
 }