Re: [joomla] JTable method

2009-07-28 Thread Mark Simko
> Donna Marie Vincent donnamarievincent at yahoo.com > Tue Jul 28 12:02:09 EDT 2009 > Sometimes it's easier to make the direct calls, sometimes not, depending on what other data you need. > If the table's key consists of more than one field you cannot use JTable. > The table class for that exa

Re: [joomla] JTable method

2009-07-28 Thread Mark Simko
On Tue, 2009-07-28 at 12:00 -0400, joomla-requ...@lists.nyphp.org wrote: > > Message: 4 > Date: Tue, 28 Jul 2009 11:33:48 -0400 > From: Mitch Pirtle > To: "NYPHP SIG: Joomla" > Subject: Re: [joomla] JTable method > Message-ID: > <3305

Re: [joomla] JTable method

2009-07-28 Thread Donna Marie Vincent
Sometimes it's easier to make the direct calls, sometimes not, depending on what other data you need. If the table's key consists of more than one field you cannot use JTable. The table class for that example is probably in administrator/components/com_reviews/tables/reviews.php. I have that b

Re: [joomla] JTable method

2009-07-28 Thread Mitch Pirtle
I have a love/hate relationship with JTable. It was created primarily as a way for simple, canned access to database objects, like a simplistic ORM of sorts. However it has some glaring shortcomings due to the "no sharp corners allowed" approach. I find myself jumping to good ol' JFactory::getDBO(