Great! it was all I was searching!

But are these information related somewhere in Midgard manual? Did I miss
it?

Thanks a lot
Emmanuel

-----Original Message-----
From: pp [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 04, 2002 1:50 PM
To: [EMAIL PROTECTED]
Subject: Re: [midgard-user] Access to Midgard objects informations


> > I can't see what "includes active" means: if I access to a
> > Midgard page with mgd_get_page(id), how do I know if page
> > authentication is unneeded, inherited or required?


<? 

$id = xx; // type here Your page You are interested in

$page = mgd_get_page($id);

print_r($page);

echo $page->auth;

// 0 means inherited
// 1 means required

echo $page->active;

// 0 means static
// 1 means active


?>









---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to