xoops forums

loukaum

Just popping in
Posted on: 1/19 11:59
loukaum
loukaum (Show more)
Just popping in
Posts: 92
Since: 2003/11/2
#1

Xoops Database Class

Hello all,

Is there any documentation where Can I learn about the database classes in Xoops?

Thanks in advanced!

geekwright

Quite a regular
Posted on: 1/20 2:43
geekwright
geekwright (Show more)
Quite a regular
Posts: 240
Since: 2010/10/15
#2

Re: Xoops Database Class

Unfortunately, I am not aware of any stand alone documentation of the XoopsDatabase classes.

Good news, the classes do have some useful internal documentation:
http://api.xoops.org/2.5.9/class-XoopsMySQLDatabase.html

In general, the methods correlate closely to the mysqli functions of PHP, so the documentation there is useful: http://php.net/manual/en/book.mysqli.php

Mamba

Moderator
Posted on: 1/20 6:43
Mamba
Mamba (Show more)
Moderator
Posts: 10565
Since: 2004/4/23
#3

Re: Xoops Database Class

Is there anything specific that you're looking for?
Support XOOPS => DONATE
Use 2.5.9 | Docs | Modules | Bugs

loukaum

Just popping in
Posted on: 1/22 10:59
loukaum
loukaum (Show more)
Just popping in
Posts: 92
Since: 2003/11/2
#4

Re: Xoops Database Class

Quote:

geekwright wrote:
Unfortunately, I am not aware of any stand alone documentation of the XoopsDatabase classes.

Good news, the classes do have some useful internal documentation:
http://api.xoops.org/2.5.9/class-XoopsMySQLDatabase.html

In general, the methods correlate closely to the mysqli functions of PHP, so the documentation there is useful: http://php.net/manual/en/book.mysqli.php


Thanks for the info, it will be very usefull!

loukaum

Just popping in
Posted on: 1/22 11:04
loukaum
loukaum (Show more)
Just popping in
Posts: 92
Since: 2003/11/2
#5

Re: Xoops Database Class

Quote:

Mamba wrote:
Is there anything specific that you're looking for?


I'm trying to write a module, but want to follow the right standards for the database flow.

aerograf

Quite a regular
Posted on: 1/22 17:08
aerograf
aerograf (Show more)
Quite a regular
Posts: 201
Since: 2017/1/7 1
#6

Re: Xoops Database Class

Write!
During debugging and testing, everything will rise as it should.
p.s.
Checked by yourself