Zend_Db_Table_Select::getTable PHP Method

getTable() public method

Return the table that created this select object
public getTable ( ) : Zend_Db_Table_Abstract
return Zend_Db_Table_Abstract
    public function getTable()
    {
        return $this->_table;
    }

Usage Example

Example #1
0
 function __construct(Zend_Db_Table_Select $select, $count = 15, $current = 1)
 {
     $table = $select->getTable();
     $this->select = $select->distinct();
     $this->row_count = $table->countRows($select);
     $this->pages_count = intval(ceil($this->row_count / $count));
     $current = min($current, $this->pages_count);
     // selection les tuples de cette pages.
     $select->limitPage($current, $count);
     $rowset = $table->fetchAll($select);
     parent::__construct($rowset, $count, $current);
     $this->pages_id = range(1, $this->pagesCount(), 1);
 }
All Usage Examples Of Zend_Db_Table_Select::getTable