The state var 'objID->initialized' is used to see whether a webobj
is initialized or not, and it has a value 'true' or 'false'.
Instead of it we can keep a state var that is more useful, e.g.
'objID->class_path' which keeps the path of the PHP code of the
webclass. This path can help to run the event handler for the
$event before the parsing starts at all. This also allows to run
the event handler of a webobj that is not parsed at all (at present,
the framework runs the event handler of a webobj just before
parsing it, and it cannot run it if the webobj is not parsed).
We can also call 'objID->class_path' with another name and keep in
it other usefull info about the webobj and its state, e.g ??.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The state var 'objID->initialized' is used to see whether a webobj
is initialized or not, and it has a value 'true' or 'false'.
Instead of it we can keep a state var that is more useful, e.g.
'objID->class_path' which keeps the path of the PHP code of the
webclass. This path can help to run the event handler for the
$event before the parsing starts at all. This also allows to run
the event handler of a webobj that is not parsed at all (at present,
the framework runs the event handler of a webobj just before
parsing it, and it cannot run it if the webobj is not parsed).
We can also call 'objID->class_path' with another name and keep in
it other usefull info about the webobj and its state, e.g ??.