-
Notifications
You must be signed in to change notification settings - Fork 262
Class diagrams
scribu edited this page Apr 10, 2013
·
4 revisions
Connection types:
-
P2P_Connection_Type_Factory
knows how to create, store and retrieveP2P_Connection_Type
instances. -
P2P_Connection_Type
contains all the information about a particular connection type. -
P2P_Directed_Connection_Type
=P2P_Connection_Type
+ direction. -
P2P_Side_*
classes contain various bits of knowledge about a particular type of object (post, user etc).
Items:
-
P2P_Item_*
classes wrap regular WordPress objects and give them a consistent interface. -
P2P_List
contains a list ofP2P_Item
instances.
Querying:
-
P2P_Query_*
classes hook into the appropriate WordPress querying class (WP_Query
orWP_User_Query
). -
P2P_Query
knows how to convert query vars into SQL strings. -
P2P_URL_Query
makes some query vars public (i.e. usable via URL).
Misc:
-
P2P_Widget
creates the widget. -
P2P_Shortcodes
creates the shortcodes.
The diagrams were created with Lucidchart.