This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Mar 22nd, 2012  |  syntax: None  |  size: 1.24 KB  |  views: 41  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. MODPATH\orm\classes\kohana\orm.php [ 315 ]
  2. 310             foreach ($this->_belongs_to as $alias => $details)
  3. 311             {
  4. 312                     $defaults['model'] = $alias;
  5. 313                     $defaults['foreign_key'] = $alias.$this->_foreign_key_suffix;
  6. 314
  7. 315                     $this->_belongs_to[$alias] = array_merge($defaults, $details);
  8. 316             }
  9. 317
  10. 318             foreach ($this->_has_one as $alias => $details)
  11. 319             {
  12. 320                     $defaults['model'] = $alias;
  13. {PHP internal call} » Kohana_Core::error_handler(arguments)
  14. MODPATH\orm\classes\kohana\orm.php [ 315 ] » array_merge(arguments)
  15. MODPATH\orm\classes\kohana\orm.php [ 246 ] » Kohana_ORM->_initialize()
  16. MODPATH\orm\classes\kohana\orm.php [ 37 ] » Kohana_ORM->__construct(arguments)
  17. MODPATH\orm\classes\kohana\orm.php [ 584 ] » Kohana_ORM::factory(arguments)
  18. APPPATH\classes\controller\categories.php [ 17 ] » Kohana_ORM->__get(arguments)
  19. {PHP internal call} » Controller_Categories->action_view()
  20. SYSPATH\classes\kohana\request\client\internal.php [ 118 ] » ReflectionMethod->invoke(arguments)
  21. SYSPATH\classes\kohana\request\client.php [ 64 ] » Kohana_Request_Client_Internal->execute_request(arguments)
  22. SYSPATH\classes\kohana\request.php [ 1138 ] » Kohana_Request_Client->execute(arguments)
  23. DOCROOT\index.php [ 109 ] » Kohana_Request->execute()
clone this paste RAW Paste Data