|
function insert($sessionId, $clientId)
{
$this->session_id = $sessionId;
$this->client_id = $clientId;
$this->time = time();
$ret = $this->_db->insertObject( $this->_tbl, $this );
if( !$ret ) {
$this->_error = strtolower(get_class( $this ))."::". JText::_( 'store failed' ) ."<br />" . $this->_db->stderr();
return false;
} else {
return true;
}
}
function insertObject( $table, &$object, $keyName = NULL, $verbose=false ) {
return;
}
下面的insertObject函数有社么作用吗? |
|