PHP Classes

error

Recommend this page to a friend!

      CWebFXMenu  >  All threads  >  error  >  (Un) Subscribe thread alerts  
Subject:error
Summary:wrong var name in BuildMenu()
Messages:1
Author:Renato Lins
Date:2012-04-25 23:21:31
 

  1. error   Reply   Report abuse  
Picture of Renato Lins Renato Lins - 2012-04-25 23:21:31
Sub itens hints are wrong. should be :

while (list ($subitem, $subdata) = each($this->Menus[$menu][$item]['submenu']))
{
echo 'tmp.add(new WebFXMenuItem("'.$subitem.'", "'.key($subdata).'", "'.$subdata[key($subdata)].'"));';

}