Questions tagged [zend-db-table]

Object-oriented interface to database tables

The Zend_Db_Table class is an object-oriented interface to database tables. It provides methods for many common operations on tables. The base class is extensible, so you can add custom logic.

The Zend_Db_Table solution is an implementation of the Table Data Gateway pattern. The solution also includes a class that implements the Row Data Gateway pattern.

Official documentation

437 questions
-1
votes
2 answers

Zend Framework2 how to make Concat and Left Join

Does not work: $sql = new Sql($this->adapter); $select = $sql->select(); $select->from('request') ->columns(array('*', new Expression("CONCAT(up1.value,' ',up2.value) as display_name"))) ->join(array('up1'=>'user_profile'),…
-1
votes
1 answer

How to write a better zend model class and avoid writing again and again adapters in each method

Here is the basic code that I use for my zend framework models. class Model_FormMapper extends Zend_Db_Table_Abstract { protected $_name = 'tblMapper'; protected $_primary = 'mapId'; public function insertColumns($arrData){ …
Ravi Kant Mishra
  • 778
  • 1
  • 7
  • 13
1 2 3
29
30