|
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;
}
Does the following insertObject function work? |
|