Difference between revisions of "Linkcode encode"
From TMM Wiki
Jump to navigationJump to searchm |
(No difference)
|
Latest revision as of 14:29, 24 November 2008
linkcode_encode
Create a NATS Code or a full hyperlink with the NATS Code.
- string linkcode_encode(integer campaignid, integer programid, integer siteid[, bool full_url=FALSE])
Builds a linkcode for the campaignid, programid, siteid specified. Uses the account's encoded/unencoded linkcode setting to build the right type of code.
If full_url is TRUE, it will return the full link URL instead of just the NATS code.