예제 #1
0
파일: Zone.php 프로젝트: kingsj/core
 /**
  * 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;
 }
예제 #2
0
파일: Country.php 프로젝트: kingsj/core
 /**
  * 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;
 }
예제 #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;
 }
예제 #4
0
파일: State.php 프로젝트: kirkbauer2/kirkxc
 /**
  * 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;
 }
예제 #5
0
 /**
  * Define cache cells
  *
  * @return array
  */
 protected function defineCacheCells()
 {
     $list = parent::defineCacheCells();
     $list['all'] = array();
     return $list;
 }