Packageindex Classtrees Modulegroups Elementlist Report XML Files

File: /sitemap/include/admin_mutate.inc.php
sitemap - Richy's Site Map

Includes::admin_mutate

"admin_mutate" module.

 

public module admin_mutate

"admin_mutate" module.
Mutates (changes) the current item in the "items" table.

Version$Revision: 1.1.1.1 $
Copyright(c)2002 R.J. Vrijhof

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

Magic$Id: admin_mutate.inc.php,v 1.1.1.1 2002/01/19 16:46:58 richy Exp $

 

Public Method Summary

string

after_move(integer $old_id, integer $new_id, integer $pos)

Make sure the $sitemap_pos variable is corrected after moving an item.

Public Method Details

after_move

public string after_move( integer $old_id, integer $new_id, integer $pos )

  Make sure the $sitemap_pos variable is corrected after moving an item.

Parameter
integer $old_id
old ID of the item
integer $new_id
new ID of the item
integer $pos
$sitemap_pos variable (string of IDs,
separated by "_")
Returns string $sitemap_pos

corrected variable

Author(s) Richard Vrijhof <R.J.Vrijhof@bigfoot.com>


Packageindex Classtrees Modulegroups Elementlist Report XML Files
PHPDoc 1.0beta