Changes between Version 3 and Version 4 of Ticket #32103, comment 23
- Timestamp:
- 10/03/2015 02:32:29 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #32103, comment 23
v3 v4 40 40 41 41 I find this an interesting example case of a problem with OO. And I literally wrote the book on OO (well, a book). Just FYI, I've been in CS for 40 years, including teaching CS at the university level for almost 20 years, and am building my theme as a sort of retirement activity. So I do find this particular problem a bit of an academic exercise. 42 43 The solution, I think, would be to make the _filter_preview a static function, and check if the 'option_' . $this->id_data['base'] filter has been created already before adding a new one. Then there is just one filter, and one filter to call.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)