sqlite object-level interface

php.internals

Unnamed Person

22 years ago
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

Marcus Börger

22 years ago
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

Unnamed Person

22 years ago
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

Gabor Hojtsy

22 years ago
>>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
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

Steph

22 years ago
care to share? :)

Gabor Hojtsy

22 years ago
> care to share? :)
It is not yet incorporated into the dochowto, but none had problems with the mysqli reference usage of OO stuff, so it was choosen. See the mysqli reference XML files. http://cvs.php.net/phpdoc/en/reference/mysqli/functions/ How it will be rendered, just depends on livedocs :)) Goba

Steph

22 years ago
I will do. Did anyone remember that php-gtk-doc needs to align to this when they were designing it?

Kevin Waterson

22 years ago
This one time, at band camp, "Steph" <steph@zend.com> wrote:
> I will do. Did anyone remember that php-gtk-doc needs to align to this when > they were designing it?
Does this mean you will document the sqlite stuff? If not, I will have a go at it. Kevin
-- ______ (_____ \ _____) ) ____ ____ ____ ____ | ____/ / _ ) / _ | / ___) / _ ) | | ( (/ / ( ( | |( (___ ( (/ / |_| \____) \_||_| \____) \____) Kevin Waterson Port Macquarie, Australia

Andrey Hristov

22 years ago
Derrell.Lipman@UnwiredUniverse.com wrote:
> 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 >
Maybe I am wrong but isn't there a standard way which was used in the documentation of mysqli? thanks, andrey