How can I find the current version of a package in code?

Permalink
How can I find the current version of a package from php code?

 
hostco replied on at Permalink Reply
hostco
You can find the version in controller.php torwards the top of the file.
uzer replied on at Permalink Reply
Thanks I see it there, but I should have clarified how can I access this *programmatically* from other php code?
uzer replied on at Permalink Reply
Looks like
getPackageVersion()
might do the trick.