I am trying to create UML documentation for PHP site. Yes, I know this is not the usual way - but this site is already in production and now we need UML documentation for it :)
Programmer which made this site is not OOP at all - he didn't use any PHP class to create this site. Instead that he did many php files. I believe in PHP world is quite popular approach.
Now I am wondering how can I create class diagram for this code? As I know class diagram is only a way to show system architecture and programming concept. I believe in this case I can present single php file as one class and variables used in this file as class attribute. If some file included some other file I can present this as a class relation. Is it right approach?