-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

Uung HR Bhuwono wrote:

| Hi Henry and all the midgardeers
|
| I still confuse with parameter in aegir, what is it use for? could you
| please explain more Henry?

Parameter is a record extension. Built to be used in cases
where your content objects (articles, topics, etc.) need
more fields than those that are provided as default.

So, with parameters you can add fields to Midgard objects.
You can use them as you wish but there is the limitation
of 255 characters per parameter field (there's three usable
fields in a parameter: domain, name, value).

Read more at:
http://www.midgard-project.org/documentation/reference/parameter/

|>$article = mgd_get_article($artid);
|>$article->parameter('relation','secondarytopic','ID_or_GUID_of_target_here');
|
|
| what do you mean by this function :
| parameter('relation','secondarytopic','ID_or_GUID_of_target_here');

That's how you create parameters if you need to add them somewhere
in your code.

You can use Aegir to insert parameters and never have to
worry about the code above. :)

|
| Thanks for all explanation
|

~ //Henri

- --
Henri Kaukola                   [EMAIL PROTECTED]
Consultant                      Tel: +358-20-198 6037
Nemein Oy                       http://www.nemein.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE/8WZ23xWc2AolrKgRAkuFAKDlFYI2no1NgAUVy1VDNOtaQpoosgCfc74P
GD2FhhWbDiDskTyegv2ttKo=
=tFCc
-----END PGP SIGNATURE-----


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



Reply via email to