getting menu commands

Hi all,

Where can I find all commands to get menu contents? I am using these code from access to getting hosts

$util->setMenu('/ip hotspot host');
	foreach ($util->getAll() as $item) {
		echo 'IP: ', $item->getProperty('address'),
			 ' MAC: ', $item->getProperty('mac-address'),
			 "<br/>";
	}

Is there any documentation for getting other tabs and their properties?

another example for user:

$util->setMenu('/ip hotspot user');
			foreach ($util->getAll() as $item) {
				echo 'name: ', $item->getProperty('name'),
					 ' mac-address: ', $item->getProperty('mac-address'),
					 ' profile: ', $item->getProperty('profile'),
					 ' uptime: ', $item->getProperty('uptime'),

					 "<br/>";
			}

I want to get know all the $util->setMenu commands like : “/ip hotspot user” and their property names.

I am using PEAR2_Net_RouterOS.

Thanks

Unfortunately, the API protocol doesn’t support giving this type of meta data.

I’ve already made a feature request along with an example spec for what exactly they could implement, but as you can see, it’s a very low priority for MikroTik.