
Public Member Functions | |
| getLogCleanTime () | |
| clean () | |
Public Attributes | |
| const | XML_LOG_CLEAN_DAYS = 'system/log/clean_after_day' |
Protected Member Functions | |
| _construct () | |
Definition at line 35 of file Log.php.
| _construct | ( | ) | [protected] |
Init Resource Model
Reimplemented from Varien_Object.
Definition at line 43 of file Log.php.
00044 { 00045 $this->_init('log/log'); 00046 }
| clean | ( | ) |
Clean Logs
Definition at line 58 of file Log.php.
00059 { 00060 $this->getResource()->clean($this); 00061 return $this; 00062 }
| getLogCleanTime | ( | ) |
Definition at line 48 of file Log.php.
00049 { 00050 return Mage::getStoreConfig(self::XML_LOG_CLEAN_DAYS) * 60 * 60 * 24; 00051 }
| const XML_LOG_CLEAN_DAYS = 'system/log/clean_after_day' |
1.5.8