bonjour je suis debutante dans le php(je connais un peu mieux c#)
si quelqu'un peut m'aider a interpreter ce bout de code:
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
 
function show_me_the_way_clic($root, $url_r = true)
{
	global $lang;
	$title_chemin = '';
	// Instanciation d'un gestionnaire d'objet:category
	$cm =& get_manager("category");
	$re =& MyRewriteEngine::getInstance();
 
	while ($root!= 0)
	{
		//Les critères sont 'id' et '$root'. La table concernée est 'category'. 
		$criteria = new Criteria("id",$root);
		//La limite en nombre de lignes est fixée à 1
		$criteria->setLimit(1);
		$cols = array('id','name','root');
		// Recuperation d'attributs avec la methode get()
		$category =& $cm->get($root,$cols);
		// recupération de l'attribut 'root'
		$root = $category->getVar('root');
 
		$title_chemin = ' > <a href="'.$re->buildUrl('category',array('name' => $category->getVar('name'), 'id' => $category->getVar('id'))).'">'.$category->getVar('name').'</a>'.$title_chemin;
	}                                                                            // recupération de l'attribut 'name'               // recupération de l'attribut 'id'                                               // recupération de l'attribut 'name' 
 
	$title_chemin = "<a href='./' title='".$lang['home']."'>".$lang['home'].'</a>'.$title_chemin;
 
	return $title_chemin;
}
merci