Tobias Roth wrote:
Hi
Where do I find information about the midgard object? For instance I do things like
$host = mgd_get_host($midgard->host);
$page = mgd_get_page($midgard->page);
which I saw on the example page or just guessed. Now I'd like to know how I actually can find out things like this with the manual.
What I am trying to do right now is find out the ID of the currently logged in user on a host that requires authentication. I did not find anything in the manual, and my guess is it has anything to do with that midgard object :)
$midgard->user
The manual is a bit behind on these things, do
echo "Midgard object<pre>\n";
print_r($midgard);
echo "</pre>\n";
and you'll get a lot of usefull information.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]