Exemplo n.º 1
0
 /**
  * Refresh the list of non-empty collections.
  *
  * To be called after data change
  */
 protected static function _refresh()
 {
     self::$_collectionsWithData = array();
     foreach (self::$_collections as $collection) {
         if (!empty(self::$_data[$collection])) {
             self::$_collectionsWithData[] = $collection;
         }
     }
 }