Ticket #2370 (new enhancement)
Document Object.php behaviour (pseudo-statics, overloaded getters)
| Reported by: | ischommer | Owned by: | sminnee |
|---|---|---|---|
| Priority: | medium | Milestone: | |
| Component: | Documentation | Version: | |
| Severity: | medium effort / impact | Keywords: | |
| Cc: | Hours: |
Description
Its very hard to understand the Object->stat() and Object->addStaticVars() behaviour at the moment, probably only sam really knows whats going on there. this should be at least documented in PHPDoc, but bonus points for adding a highlevel overview on doc.ss.com ;)
i think some examples contrasting PHP-default and silverstripe static handling could help a lot - e.g. show how static inheritance/aggregation in subclasses works in silverstripe.
Change History
Note: See
TracTickets for help on using
tickets.
