Chris Davies <[EMAIL PROTECTED]> wrote:

> With the code as presented, I get:
> 
> Object does not exist
> 
> If I change the first line to:
> 
> $person = mgd_get_person(1);
> 
> I get:
> 
> adminObject does not exist

Are You logged in as executing this code?

 
> I'm not sure what the call to mgd_get_article() in the code given will
> do -- it should always return false since there is no article id
> specified there.  I created an article through asgard and changed the
> line to:
> 
> $article = mgd_get_article(1);
> 

For most midgard's objects You may call 
$object = mgd_get_xxx(); 
which creates objects with empty properties, which may be defined as You need.

Piotras



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

Reply via email to