getDBO() Question

This forum is for general questions about extensions for Joomla! version 1.5.x.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Locked
oldmatt
Joomla! Apprentice
Joomla! Apprentice
Posts: 9
Joined: Thu Sep 09, 2010 8:25 pm
Contact:

getDBO() Question

Post by oldmatt » Mon Oct 04, 2010 2:33 pm

What is the difference between JFactory::getDBO(); and $this->getDBO(); wherer $this = a model for the frontend?

Does it refer to the same object or are there differences? I am looking at an example of a model with two methods, one method gets a single row from the db and the other gets a list of results from the db.

one method gets a reference to a DBO object with JFactory::getDBO() and the other gets a reference with $this->getDBO().

Any comments are appreciated.

Thanks

PNC52
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Fri Jan 09, 2015 5:57 pm

Re: getDBO() Question

Post by PNC52 » Fri Jan 09, 2015 5:58 pm

I know this is a really old post, but I just found it... and it's asking the same question I'm trying to get an answer to. Anyone??


Locked

Return to “Extensions for Joomla! 1.5”