Nats extract site

From TMM Wiki
Revision as of 12:08, 24 November 2008 by Trinidadr (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
NATS 3
  Helper Functions
nats_code
nats_extract_program
nats_extract_site
nats_modify_program
nats_modify_site

nats_extract_site

Extracts the site id from a NATS code.

  • integer nats_extract_site(string data)

Extracts the site ID from a NATS code. Returns the numeric site id.

Note: This function requires helper.php.