* (1) $GLOBALS['_DB_TABLE_DATABASE']['error'] = array( * DB_TABLE_DATABASE_ERR_.. => '...', * DB_TABLE_DATABASE_ERR_.. => '...'); * (2) DB_Table_Database::setErrorMessage(DB_TABLE_DATABASE_ERR_.., '...'); * DB_Table_Database::setErrorMessage(DB_TABLE_DATABASE_ERR_.., '...'); * (3) DB_Table_Database::setErrorMessage(array( * DB_TABLE_DATABASE_ERR_.. => '...'); * DB_TABLE_DATABASE_ERR_.. => '...'); * (4) $obj =& new DB_Table(); * $obj->setErrorMessage(DB_TABLE_DATABASE_ERR_.., '...'); * $obj->setErrorMessage(DB_TABLE_DATABASE_ERR_.., '...'); * (5) $obj =& new DB_Table(); * $obj->setErrorMessage(array(DB_TABLE_DATABASE_ERR_.. => '...'); * DB_TABLE_DATABASE_ERR_.. => '...'); *
* $dir = $this->_table_subclass_path; * require_once $dir . '/' . $subclass . '.php'; *
* $data = array( 'k1' => $v1, 'k2' => $v2, ... , 'k10' => $v10 ); * $data_key = array('k2', 'k5', 'k7'); * $filt_key = array('c2', 'c5', 'c7'); *
* "c2 = $v2 AND c5 = $v5 AND c7 = $v7" *
* "c5 = $v5" *
* $data = array( 'c1' => $v1, 'c2' => $v2, 'c3' => $v3) *
* "c1 => $val1 AND c2 => $val2 AND c3 = $v3" *
* $db_object = unserialize($serialized_db); * $db_object->setDB($conn); *