- It would be nice if you can get the name of the Zend_Db_Table.
- As mentioned before it would be nice if you can specify a $_selectClass in Zend_Db_Table
protected $_selectClass = 'Zend_Db_Table_Select';
/**
* Returns the name of the table.
*
* @return string
*/
public function getName()
{
return $this->_name;
}
/**
* Returns an instance of a Zend_Db_Table_Select object.
*
* @return Zend_Db_Table_Select
*/
public function select()
{
@Zend_Loader::loadClass($this->_selectClass);
return new $this->_selectClass($this);
}
Comments
Posted by julien PAULI (doctorrock83) on 2009-05-13T12:35:18.000+0000
Use $table->info(Zend_Db_Table_Abstract::NAME) that mainly acts as a "catch-all getter"