Nats extract program

From TMMwiki
Jump to: navigation, search
NATS 3
  Helper Functions
nats_code
nats_extract_program
nats_extract_site
nats_modify_program
nats_modify_site

nats_extract_program

Extract a program id from a NATS code

  • integer nats_extract_program(string data)

Takes the NATS Code data and extracts the program id from it. Returns the numeric program id.

Note: This function requires helper.php.