View Single Post
  #2 (permalink)  
Old 04-24-2008, 07:39 PM
Elemental's Avatar
Elemental Elemental is offline
Senior Member
 
Join Date: Jul 2007
Posts: 119
Default

You can do that from class.

PHP Code:
class person extends Zend_Db_Table_Abstract
{
    protected 
$_name 'person_table-name';

That should allow $pers->find(123); to work.
__________________
Zend Framework Resources: Zend Webinars | Reference Manual | API Docs | Books | FreeNode: #zftalk
Getting Started Tutorials: Getting started with ZF | Getting started with Zend Auth
Reply With Quote