colap Posted February 25, 2011 Share Posted February 25, 2011 class myclass extends Zend_Db_Table{.. } class myclass extends Zend_Db_Table_Abstract{..} Which is better ? What's the difference ? Link to comment https://forums.phpfreaks.com/topic/228792-whats-the-difference-between-zend_db_table-and-zend_db_table_abstract/ Share on other sites More sharing options...
ignace Posted February 25, 2011 Share Posted February 25, 2011 There is no difference Zend_Db_Table extends Zend_Db_Table_Abstract. You should always extend from abstract classes, not concrete classes. Link to comment https://forums.phpfreaks.com/topic/228792-whats-the-difference-between-zend_db_table-and-zend_db_table_abstract/#findComment-1179636 Share on other sites More sharing options...
colap Posted February 26, 2011 Author Share Posted February 26, 2011 There is no difference Zend_Db_Table extends Zend_Db_Table_Abstract. You should always extend from abstract classes, not concrete classes. What is the difference between abstract class and concrete class ? Link to comment https://forums.phpfreaks.com/topic/228792-whats-the-difference-between-zend_db_table-and-zend_db_table_abstract/#findComment-1179922 Share on other sites More sharing options...
ignace Posted February 26, 2011 Share Posted February 26, 2011 http://be.php.net/abstract Link to comment https://forums.phpfreaks.com/topic/228792-whats-the-difference-between-zend_db_table-and-zend_db_table_abstract/#findComment-1179927 Share on other sites More sharing options...
colap Posted February 26, 2011 Author Share Posted February 26, 2011 Where is concrete? Link to comment https://forums.phpfreaks.com/topic/228792-whats-the-difference-between-zend_db_table-and-zend_db_table_abstract/#findComment-1180043 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.