Skip to content

Commit

Permalink
Add Registry to replace set_*_class()
Browse files Browse the repository at this point in the history
This new class handles creating objects and calling static methods.

Objects created by this class can opt to receive a reference to it via a `set_registry` method, which takes a `SimplePie_Registry` reference as its only parameter.

Classes registered via the old Core::set_*_class() methods are marked as legacy, and parameters may be shuffled to compensate. All new classes should use `$feed->get_registry()->register($type, $class)` instead.
  • Loading branch information
rmccue committed Jan 16, 2012
1 parent df35e08 commit f6e63e6
Show file tree
Hide file tree
Showing 6 changed files with 365 additions and 394 deletions.
Loading

0 comments on commit f6e63e6

Please sign in to comment.