/**
  * (non-PHPdoc)
  * @see RW_App_Model_Base::getWhere()
  */
 public function getWhere($where, &$select = null)
 {
     if (isset($where['test'])) {
         if ($select instanceof Zend_Db_Table_Select) {
             $select->columns("id as novoid");
         }
         unset($where['test']);
     }
     return parent::getWhere($where, $select);
 }
Beispiel #2
0
 /**
  * Tests Base->getWhere()
  *
  * Apenas para ter o coverage completo
  */
 public function testWhere()
 {
     $this->assertEquals('123456789abcde', $this->Base->getWhere('123456789abcde'));
 }