PEAR::DataObject

DataObject performs 2 tasks: 1. Builds SQL statements based on the objects vars and the builder methods. 2. acts as a datastore for a table row. The core class is designed to be extended for each of your tables so that you put the data logic inside the data classes. included is a Generator to make your configuration files and your base classes.

Configurazione

è possibile configurare il tutto senza utilizzare un file .ini esterno

$options = &PEAR::getStaticProperty('DB_DataObject','options');
$options = array(
    
'database'         => DBTYPE.'://'.DBUSER.'@'.DBSERVER.'/'.DBNAME,
    
'schema_location'  => PATH_APPLICATION.PATH_CLASSES.'/dataobject/',
    
'class_location'   => PATH_APPLICATION.PATH_CLASSES.'/dataobject/',
    
'require_prefix'   => PATH_APPLICATION.PATH_CLASSES.'/dataobject/',
    
'class_prefix'     => 'DataObjects_'
);

Per maggiori informazioni:

Link Ufficiali

Help & Faq

PHP Warnings

lib/WikiUser.php:59: Notice[8]: Only variables should be assigned by reference

lib/Template.php:112: Notice[8]: Only variables should be assigned by reference

lib/Template.php:114: Notice[8]: Only variables should be assigned by reference

lib/Template.php (In template 'html'):112: Notice[8]: Only variables should be assigned by reference

lib/Template.php (In template 'html'):114: Notice[8]: Only variables should be assigned by reference

lib/Template.php (In template 'html'):112: Notice[8]: Only variables should be assigned by reference

lib/Template.php (In template 'html'):114: Notice[8]: Only variables should be assigned by reference

lib/Template.php (In template 'body') (In template 'html'):112: Notice[8]: Only variables should be assigned by reference

lib/Template.php (In template 'body') (In template 'html'):114: Notice[8]: Only variables should be assigned by reference

lib/Template.php (In template 'top') (In template 'body') (In template 'html'):112: Notice[8]: Only variables should be assigned by reference

lib/Template.php (In template 'top') (In template 'body') (In template 'html'):114: Notice[8]: Only variables should be assigned by reference

lib/Template.php (In template 'body') (In template 'html'):112: Notice[8]: Only variables should be assigned by reference

lib/Template.php (In template 'body') (In template 'html'):114: Notice[8]: Only variables should be assigned by reference

lib/CachedMarkup.php (In template 'browse') (In template 'body') (In template 'html'):427: Notice[8]: Only variables should be assigned by reference