hudmol/archivesspace — pull request #8 by lcdhoffman (2012-07-30 01:33:29+00:00)
Title: Jsonmodel eliminate globals

Mark - I was having a problem with my code silently adding to the $models array when I wanted to see if a model existed. I figured this was unwanted behavior. It's returning false now - which works for me but maybe you'd want it to return something else.

I also converted $master, $schema, $types to @@master, @@schema, and @@types. Is there any problem with this? I'm assuming we don't really want them to be globals...