Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- class Freak_Auth_Adapter_DbTable extends Zend_Auth_Adapter_DbTable {
- /**
- * getDbSelect() - Return the preauthentication Db Select object for userland select query modification
- * This method is overriden because zend_db_table::select() adds a FROM which we do not want (been there
- * done that, just dont)
- *
- * @return Zend_Db_Select
- */
- public function getDbSelect()
- {
- if ($this->_dbSelect == null) {
- $this->_dbSelect = $this->_zendDb->getAdapter()->select();
- }
- return $this->_dbSelect;
- }
- }
Add Comment
Please, Sign In to add comment