Looking for the latest version? Download objoo.zip (1.1 MB)
Home
Name Modified Size Downloads / Week Status
Totals: 2 Items   1.1 MB 2
README.mkd 2013-03-24 758 Bytes 11 weekly downloads
objoo.zip 2013-03-20 1.1 MB 11 weekly downloads

Easy usage guide:

Selecting records:

'''
include "objoo.php";

sql::getInstance("localhost", "dbuser", "pass", "dbname");
$registros = dbTable::get("table_name")->selectAll();

foreach($registro as $registro){
        echo $registro->field_name;
}
'''

Adding records:

'''
include "objoo.php";
sql::getInstance("localhost", "dbuser", "pass", "dbname");

$row = new tableRow('table_name');

$row->id = 1;
$row->nombre = "Juan";
$row->email = "objoo@jharo.net";

$row->add();
'''

Updating records:

'''
include "objoo.php";
sql::getInstance("localhost", "dbuser", "pass", "dbname");

$table = dbTable::get("table_name");

$usuario = $table->selectOne(1);
$usuario->email = "yo@jharo.net";

$usuario->save();
'''
Source: README.mkd, updated 2013-03-24

Thanks for helping keep SourceForge clean.

Screenshot instructions:
Windows
Mac
Red Hat Linux   Ubuntu

Click URL instructions:
Right-click on ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies
X

Briefly describe the problem (required):

Upload screenshot of ad (required):
Select a file, or drag & drop file here.

Please provide the ad click URL, if possible:

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks