Parameters [cid] Array of record IDs
[publish] Publish value, 1 or 0
[user_id] Current user's ID
Returns true on success
reorder( where : string='' ) : boolean
Removes gaps in ordering.
Parameters [where] WHERE clause
Returns true on success
reset( ) : void
Resets the object to the initial class option values.
save( source : mixed, order_filter : string='' ) : boolean
Binds source to the object; source must be an object or an associative array. Checks the
buffer, stores the buffer, checks-in the record, and if order_filter is specified uses it to
determine which field must be common during the execution of the reorder() method.
Parameters source Record to save
[order_filter] Name of field by which records are ordered
Returns true on success
setDBO( &db : JDatabase ) : void
Sets the JDatabase connection object.
Parameters db Database connection object
store( updateNulls : boolean=false ) : boolean
Saves the record buffer to the database. If the record buffer primary key property is set, an
UPDATE will be executed, otherwise an INSERT will be executed.
Pages:
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542