예제 #1
0
 /**
  * {@inheritdoc}
  */
 public function actionSave()
 {
     if ($this->once && $this->exists()) {
         return 0;
     }
     $this->_items = Helper::uniqueConfig($this->_items);
     $this->getFile()->save($this);
 }
예제 #2
0
 public function actionSave()
 {
     $this->_items = Helper::uniqueConfig($this->_items);
     $this->getFile()->save($this->getItems());
     return 0;
 }