Guest User

Untitled

a guest
May 26th, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. class LoginTable extends Zend_Db_Table
  2. {
  3. protected $_name = 'login';
  4.  
  5. protected $_dependentTables = array('CompanyTable');
  6.  
  7. protected $_referenceMap = array(
  8.  
  9. 'CompanyTable' => array(
  10. 'columns' => array(
  11. 'id'
  12. ), 'refTableClass' => 'CompanyTable',
  13. 'refColumns' => array(
  14. 'login_id'
  15. )
  16. )
  17. );
  18.  
  19.  
  20. }
  21.  
  22. class CompanyTable extends Zend_Db_Table_Abstract
  23. {
  24.  
  25. protected $_name = 'company';
  26.  
  27. }
Add Comment
Please, Sign In to add comment