Exemplo n.º 1
0
 /**
  * Save configuration data
  * @tutorial added comparison feature before save
  *
  * @param string $path
  * @param string $value
  * @param int|string $scope
  * @param int $scopeId
  * @param int $inherit
  * @return Loewenstark_Kitchenking_Model_Resource_Setup
  */
 public function setConfigData($path, $value, $scope = 'default', $scopeId = 0, $inherit = 0)
 {
     if (strcmp($this->getConfigData($path, $scopeId), $value) === 0) {
         return $this;
     }
     return parent::setConfigData($path, $value, $scope, $scopeId, $inherit);
 }