Exemple #1
0
 public function save($blnSaveModifiedDate = TRUE)
 {
     self::$object = "Setting";
     self::$table = "pcms_setting";
     $blnReturn = parent::save($blnSaveModifiedDate);
     $objSettingTemplate = SettingTemplate::selectByPk($this->getSettingId());
     if (class_exists("AuditLog")) {
         AuditLog::addLog(AUDIT_TYPE_SETTING, $this->getId(), $objSettingTemplate->getName(), "edit", $this->getValue());
     }
     return $blnReturn;
 }
 public function duplicate()
 {
     self::$object = "Setting";
     self::$table = "pcms_setting";
     return parent::duplicate();
 }