SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 612 | Next

James Kennard

"Mastering Joomla! 1.5 Extension and Framework Development"

offset and limit are used for pagination; in MySQL this
relates directly to the LIMIT clause. If you use offset or limit, then your SQL must not
contain a LIMIT clause. prefix is the string that is replaced in the SQL by the database
table prefix; it would be unusual to change this from the default #__.
Parameters sql Query
[offset] Start record
[limit] Maximum number of records
[prefix] Table prefix to substitue
static test( ) : boolean
Determines if the driver (subclass) is compatible with the current environment.
Returns true of the driver is compatible with the current environment
updateObject( table : string, &object : object, keyName : string,
updateNulls : boolean=true ) : boolean
Treats object as an updated record and attempts to update the specified table from the
record. If updateNulls is true, object properties that are null will still be used to update
the record in the table.
Parameters table Table name
object Record object
keyName Primary key
[updateNulls] Update values even if they are null
Returns true on success
Appendix
[ 452 ]
Parameters (Core JElements)
We can use the XML tag param to define different parameters.


Pages:
600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624