> > 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]

Reply via email to