# sqlite object-level interface

- Thread: https://externals.io/message/11995
- Original archive: https://news-web.php.net/php.internals/11995
- Started by Derrell.Lipman@UnwiredUniverse.com on 2004-08-07T19:23:43+00:00
- Messages: 5
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #11995 — Derrell.Lipman@UnwiredUniverse.com — 2004-08-07T19:23:43+00:00

URL: https://externals.io/message/11995#11995

I just discovered (via the RTFS method) that there is an object-level
interface to the sqlite functionality, $obj = new SQLiteDatabase(filename);
It appears that there are SQLiteQuery and a few other object types as well,
although I didn't pursue those.

In searching the documentation on the web site, the only mention of this
object interface is in a single "user-supplied" comment on the main PHP sqlite
page, simply stating that the object name was converted to use studly caps.

Is this an interface method that is supposed to be public?  If so, it appears
that the documentation for it was never written or never made it to the web
site.

Cheers,

Derrell

---

## #12001 — Marcus Boerger — 2004-08-08T12:39:29+00:00

URL: https://externals.io/message/11995#12001 · In reply to: #11995

Hello Derrell,

it is a public interface! Unfortunatley we still have no way of documenting
classes on the docs page.

regards
marcus

(crossposting to phpdoc)

Saturday, August 7, 2004, 9:23:43 PM, you wrote:

> I just discovered (via the RTFS method) that there is an object-level
> interface to the sqlite functionality, $obj = new SQLiteDatabase(filename);
> It appears that there are SQLiteQuery and a few other object types as well,
> although I didn't pursue those.

> In searching the documentation on the web site, the only mention of this
> object interface is in a single "user-supplied" comment on the main PHP sqlite
> page, simply stating that the object name was converted to use studly caps.

> Is this an interface method that is supposed to be public?  If so, it appears
> that the documentation for it was never written or never made it to the web
> site.

> Cheers,

> Derrell




-- 
Best regards,
 Marcus                            mailto:helly@php.net

---

## #12003 — Derrell.Lipman@UnwiredUniverse.com — 2004-08-08T14:46:37+00:00

URL: https://externals.io/message/11995#12003 · In reply to: #12001

Marcus Boerger <helly@php.net> writes:

> Hello Derrell,
>
> it is a public interface! Unfortunatley we still have no way of documenting
> classes on the docs page.

Thanks.  Steph forwarded me this link, which could be provided on the docs
page as additional reference, until there's a standard way to document classes
on that page...

  http://www.zend.com/php5/articles/php5-sqlite.php

Cheers,

Derrell

---

## #12006 — Gabor Hojtsy — 2004-08-08T15:43:30+00:00

URL: https://externals.io/message/11995#12006 · In reply to: #12003

> > […]
> 
> Thanks.  Steph forwarded me this link, which could be provided on the docs
> page as additional reference, until there's a standard way to document classes
> on that page...
> 
>   http://www.zend.com/php5/articles/php5-sqlite.php

As far as I have seen, we decided on adopting the mysqli way of 
documenting OO stuff, so someone just needs to do it.

Goba

---

## #12008 — Andrey Hristov — 2004-08-08T19:34:44+00:00

URL: https://externals.io/message/11995#12008 · In reply to: #12003

Derrell.Lipman@UnwiredUniverse.com wrote:
> Marcus Boerger <helly@php.net> writes:
> 
> 
> > […]
> 
> 
> Thanks.  Steph forwarded me this link, which could be provided on the docs
> page as additional reference, until there's a standard way to document classes
> on that page...
> 
>   http://www.zend.com/php5/articles/php5-sqlite.php
> 
> Cheers,
> 
> Derrell
> 
Maybe I am wrong but isn't there a standard way which was used in the documentation
of mysqli?

thanks,
andrey
