$name.'.php' where the class should reside.
Parameters [name] Name of the JTable
[prefix] Class prefix
Returns Reference to a new instance of a JTable subclass object
setDBO( &db : JDatabase ) : void
Sets the reference to the database connection.
Parameters Database connection
setState( property : string, value : mixed=null ) : mixed
Sets a user state property.
Parameters property Name of state property
[value] Value of state property
Returns Previous value of state property
Appendix
[ 374 ]
_createFileName( type : string, parts : array=array() ) : string
Gets the name of the file that a class should be located in. parts must include the key
name. type should always be 'table'.
Parameters type The type of resources; only accepts 'table'
[parts] Associative array of name parts
Returns Name of the file that a class should be located in
&_createTable( name : string, prefix : string='Table' ) : mixed
Used by getTable() to create a new instance of a JTable subclass object. Returns null or
an error on failure.
Pages:
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522