Welcome, Guest. Register Now!
   
Mark Forums Read Mark Forums Read Mark Forums Read


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-20-2007, 05:58 PM
Junior Member
 
Join Date: Oct 2007
Location: Poland
Posts: 2
Default Zend_Db_Table deprecated ?

Hi all

In ZF 1.0.2, please check the PHPdoc that is included within the Zend_Db_Table class file. You will find there an information:
@deprecated since 0.9

What does it mean? Will Zend_Db_Table be dropped off the ZF within next releases?
Thanks
Greets
Kubek Bartosz
Kubek Bartosz weblog
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 10-22-2007, 10:32 PM
Elemental's Avatar
Senior Member
 
Join Date: Jul 2007
Posts: 122
Default

Here's the code for Zend_Db_Table (without comments):

Code:
<?php
require_once 'Zend/Db/Table/Abstract.php';

abstract class Zend_Db_Table extends Zend_Db_Table_Abstract
{
}
Zend_DB_Table was just an extension of Zend_Db_Table_Abstract. When you create a model class you should be extending Zend_Db_Table_Abstract anyway. It was probably dropped as redundant or unnecessary code. So yes, Zend_Db_Table is depreciated in favor of extending Zend_Db_Table_Abstract directly.

Zend_Db_Table_Abstract is not going anywhere soon...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 11:32 PM.