Exemple #1
0
 /**
  * Define cache cells
  *
  * @return array
  */
 protected function defineCacheCells()
 {
     $list = parent::defineCacheCells();
     $list['all'] = array(self::RELATION_CACHE_CELL => array('\\XLite\\Model\\Zone'));
     $list['default'] = array(self::RELATION_CACHE_CELL => array('\\XLite\\Model\\Zone'));
     $list['zone'] = array(self::ATTRS_CACHE_CELL => array('zone_id'), self::RELATION_CACHE_CELL => array('\\XLite\\Model\\Zone'));
     return $list;
 }
Exemple #2
0
 /**
  * Define cache cells
  *
  * @return array
  */
 protected function defineCacheCells()
 {
     $list = parent::defineCacheCells();
     $list['all'] = array(self::RELATION_CACHE_CELL => array('\\XLite\\Model\\State'));
     $list['enabled'] = array(self::RELATION_CACHE_CELL => array('\\XLite\\Model\\State'));
     $list['states'] = array(self::RELATION_CACHE_CELL => array('\\XLite\\Model\\State'));
     return $list;
 }
Exemple #3
0
 /**
  * Define cache cells
  *
  * @return array
  */
 protected function defineCacheCells()
 {
     $list = parent::defineCacheCells();
     $list['class_list'] = array(static::ATTRS_CACHE_CELL => array('list', 'zone'));
     return $list;
 }
Exemple #4
0
 /**
  * Define cache cells
  *
  * @return array
  */
 protected function defineCacheCells()
 {
     $list = parent::defineCacheCells();
     $list['all'] = array(self::RELATION_CACHE_CELL => array('\\XLite\\Model\\Country'));
     $list['codes'] = array(self::ATTRS_CACHE_CELL => array('state_id'));
     return $list;
 }
Exemple #5
0
 /**
  * Define cache cells
  *
  * @return array
  */
 protected function defineCacheCells()
 {
     $list = parent::defineCacheCells();
     $list['all'] = array();
     return $list;
 }