Пример #1
0
 public function __construct()
 {
     $this->_config = Mage::helper('eems_display/config');
     $this->_helper = Mage::helper('eems_display');
     $this->_date = Mage::getModel('core/date');
     $this->_stream = new SplFileInfo($this->_config->getFeedFilePath() . DS . $this->_config->getFeedLockFilename());
     $this->_lastRunDateTime = $this->_date->date(static::TIME_FORMAT);
     $this->_notice = $this->_config->getFeedAdminNotice();
 }
Пример #2
0
 public function __construct()
 {
     $this->_config = Mage::helper('eems_display/config');
     $this->_stream = new SplFileInfo($this->_config->getFeedFilePath());
     $this->_notice = $this->_config->getFeedAdminNotice();
 }
Пример #3
0
 /**
  * The CSV file name per store id
  * @param  int $storeId
  * @return string
  */
 protected function _getCsvFile($storeId)
 {
     return $this->_config->getFeedFilePath() . DS . $storeId . static::CSV_FILE_EXTENSION;
 }