Neuaufbau Joomla -Menü

{source}<?php

$table= JTable::getInstance('Menu', 'JTable', array());
// Rebuild the tree path.
if (!$table->rebuildPath($table->id) || !$table->rebuild($table->id)) {

$this->setError($table->getError());
return false;
}else{
echo 'path updated';
}

?>{/source}
Lucky Llama