[wp-trac] [WordPress Trac] #12267: Upgrade loop objects to provide identical presentational interfaces.

WordPress Trac wp-trac at lists.automattic.com
Thu Mar 10 04:55:51 UTC 2011


#12267: Upgrade loop objects to provide identical presentational interfaces.
-------------------------+-----------------------------
 Reporter:  andy         |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Future Release
Component:  General      |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  3.2-early    |
-------------------------+-----------------------------

Comment (by mikeschinkel):

 Replying to [comment:43 hakre]:
 > I suggest a [http://php.net/manual/en/language.oop5.interfaces.php
 standard interface] any type can implement and therefore be
 compatible....As post types (content data) have a lot of dynamic
 properties I suggest some kind of
 [http://php.net/manual/en/language.oop5.abstract.php ''abstract'' base
 class] as well and an abstract visitor base class. That should offer a lot
 of flexibility in conjunction with the interface.

 +1

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/12267#comment:45>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list