Guest User

Untitled

a guest
Jun 21st, 2018
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.59 KB | None | 0 0
  1. <?php
  2. class Freak_Auth_Adapter_DbTable extends Zend_Auth_Adapter_DbTable {
  3. /**
  4. * getDbSelect() - Return the preauthentication Db Select object for userland select query modification
  5. * This method is overriden because zend_db_table::select() adds a FROM which we do not want (been there
  6. * done that, just dont)
  7. *
  8. * @return Zend_Db_Select
  9. */
  10. public function getDbSelect()
  11. {
  12. if ($this->_dbSelect == null) {
  13. $this->_dbSelect = $this->_zendDb->getAdapter()->select();
  14. }
  15.  
  16. return $this->_dbSelect;
  17. }
  18. }
Add Comment
Please, Sign In to add comment