/[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.45.2.1, Sat Mar 21 00:28:54 2009 UTC revision 1.45.2.2, Sat Oct 17 17:45:52 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: pathauto.inc,v 1.45 2008/06/18 20:02:40 greggles Exp $  // $Id: pathauto.inc,v 1.45.2.1 2009/03/21 00:28:54 freso Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 220  function pathauto_cleanstring($string, $ Line 220  function pathauto_cleanstring($string, $
220   *   The name of your module (e.g., 'node').   *   The name of your module (e.g., 'node').
221   * @param $op   * @param $op
222   *   Operation being performed on the content being aliased   *   Operation being performed on the content being aliased
223   *   ('insert', 'update', or 'bulkupdate').   *   ('insert', 'update', 'return', or 'bulkupdate').
224   * @param $placeholders   * @param $placeholders
225   *   An array whose keys consist of the translated placeholders   *   An array whose keys consist of the translated placeholders
226   *   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 317  function pathauto_create_alias($module, Line 317  function pathauto_create_alias($module,
317      }      }
318    }    }
319    
320      // Return the generated alias if requested.
321      if ($op == 'return') {
322        return $alias;
323      }
324    
325    // If $pid is NULL, a new alias is created - otherwise, the existing    // If $pid is NULL, a new alias is created - otherwise, the existing
326    // alias for the designated src is replaced    // alias for the designated src is replaced
327    _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.45.2.1  
changed lines
  Added in v.1.45.2.2

  ViewVC Help
Powered by ViewVC 1.1.2