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 606 | Next

James Kennard

"Mastering Joomla! 1.5 Extension and Framework Development"


Returns Array of table names
getUTFSupport( ) : boolean
Determines if the database supports UTF-8.
Returns true if the database supports UTF-8
getVersion( ) : string
Gets the database server version.
Returns Database server version
hasUTF( ) : boolean
Determines if the database supports UTF-8. You should use getUTFSupport() in
preference to this method, which returns a cached value of hasUTF().
Returns true if the database supports UTF-8
insertid( ) : int
If the last query was an INSERT query on a table with an auto-increment primary key, this
method gets the ID inserted as a result of the last query. If it was not an INSERT query,
zero will be returned.
Returns Inserted ID from the last query
Appendix
[ 448 ]
insertObject( table : string, &object : object, keyName : string=null ) :
boolean
Treats object as a new record and attempts to insert it into the specified table. If keyName
(primary key fieldname) is specified, the object will be updated with the record primary
key value; this is for use with tables with auto-increment primary keys only.


Pages:
594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618