What does reorder() function do in Joomla? I have a statement for a function of menu copy in administrator code for menu as:
$curr->reorder( 'menutype = '.$this->_db->Quote($curr->menutype).' AND parent = '.(int) $curr->parent );
As I have executed this code, it has reordered my id to any other position. I just need to know is this reorder() function an inbuilt function of Joomla? If yes, what and how does it do what it has done to my ids?
I am a newbie to Joomla. Please help.
Edit: How can I get the the reordered output just after calling the function?
Yes, the
reorder()function is of Joomla and re-orders ids with respect to any child menu items.