/[drupal]/contributions/modules/tagadelic/tagadelic.module
ViewVC logotype

Diff of /contributions/modules/tagadelic/tagadelic.module

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.40.2.7, Mon Sep 14 20:19:47 2009 UTC revision 1.40.2.8, Mon Sep 14 20:21:45 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: tagadelic.module,v 1.40.2.6 2009/05/13 16:56:12 ber Exp $  // $Id: tagadelic.module,v 1.40.2.7 2009/09/14 20:19:47 ber Exp $
3    
4  /**  /**
5   * Implementation of hook_help   * Implementation of hook_help
# Line 210  function tagadelic_tags_lists($node) { Line 210  function tagadelic_tags_lists($node) {
210   */   */
211  function tagadelic_get_weighted_tags($vids, $steps = 6, $size = 60) {  function tagadelic_get_weighted_tags($vids, $steps = 6, $size = 60) {
212    // build the options so we can cache multiple versions    // build the options so we can cache multiple versions
213    $options = implode($vids) .'_'. $steps .'_'. $size;    $options = implode('_',$vids) .'_'. $steps .'_'. $size;
   
214    // Check if the cache exists    // Check if the cache exists
215    $cache_name = 'tagadelic_cache_'. $options;    $cache_name = 'tagadelic_cache_'. $options;
216    $cache = cache_get($cache_name, 'cache_page');    $cache = cache_get($cache_name, 'cache_page');

Legend:
Removed from v.1.40.2.7  
changed lines
  Added in v.1.40.2.8

  ViewVC Help
Powered by ViewVC 1.1.2