/[drupal]/contributions/modules/pathauto/pathauto.inc
ViewVC logotype

Diff of /contributions/modules/pathauto/pathauto.inc

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

revision 1.51, Sat Mar 21 00:24:28 2009 UTC revision 1.52, Sat Oct 17 17:45:10 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: pathauto.inc,v 1.50 2008/08/26 04:55:19 freso Exp $  // $Id: pathauto.inc,v 1.51 2009/03/21 00:24:28 freso Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 264  function pathauto_cleanstring($string, $ Line 264  function pathauto_cleanstring($string, $
264   *   The name of your module (e.g., 'node').   *   The name of your module (e.g., 'node').
265   * @param $op   * @param $op
266   *   Operation being performed on the content being aliased   *   Operation being performed on the content being aliased
267   *   ('insert', 'update', or 'bulkupdate').   *   ('insert', 'update', 'return', or 'bulkupdate').
268   * @param $placeholders   * @param $placeholders
269   *   An array whose keys consist of the translated placeholders   *   An array whose keys consist of the translated placeholders
270   *   which appear in patterns (e.g., t('[title]')) and values are the   *   which appear in patterns (e.g., t('[title]')) and values are the
# Line 364  function pathauto_create_alias($module, Line 364  function pathauto_create_alias($module,
364      }      }
365    }    }
366    
367      // Return the generated alias if requested.
368      if ($op == 'return') {
369        return $alias;
370      }
371    
372    // If $pid is NULL, a new alias is created - otherwise, the existing    // If $pid is NULL, a new alias is created - otherwise, the existing
373    // alias for the designated src is replaced    // alias for the designated src is replaced
374    _pathauto_set_alias($src, $alias, $module, $entity_id, $pid, $verbose, $old_alias, $language);    _pathauto_set_alias($src, $alias, $module, $entity_id, $pid, $verbose, $old_alias, $language);

Legend:
Removed from v.1.51  
changed lines
  Added in v.1.52

  ViewVC Help
Powered by ViewVC 1.1.2