public static function clear($path = null) {
		if (empty($path)) {
			self::$_items = array();
			return;
		}

		if (Hash::check(self::$_items, $path)) {
			self::$_items = Hash::insert(self::$_items, $path, array());
		}
	}
public static function clear($path = null) {
		if (empty($path)) {
			self::$_items = array();
			return;
		}

		if (Hash::check(self::$_items, $path)) {
			self::$_items = Hash::insert(self::$_items, $path, array());
		}
	}
public static function clear ( $ path = null ) { if ( empty ( $ path ) ) { self :: $ _items = array ( ) ; return ; } if ( Hash :: check ( self :: $ _items , $ path ) ) { self :: $ _items = Hash :: insert ( self :: $ _items , $ path , array ( ) ) ; } }
Clear all menus.

@return void
Clear all menus .