type can be view or model. path
can be a string or an array of strings. Using this method will prepend JPATH_COMPONENT.
DS.$type to each path.
Parameters type Type of path
path Path or array of paths
JTable
abstract, extends JObject
Class that handles individual database tables. JTable uses a buffering mechanism, which
allows it to handle records on an individual basis. For more information about JTable refer
to Chapter 3.
Properties
_tbl: string Table name
_tbl_key : array Primary key
_errorNum : int Error Number
_db : JDatabase Database connection
Constructors
__construct( table : string, key : string, &db : JDatabase ) : JTable
Builds a new JTable object.
Parameters table Table name
key Primary Key
db Database connection
Appendix
[ 384 ]
Methods
static addIncludePath( path : mixed='' ) : array
Adds paths to search for JTable subclasses. path can be a string or an array of strings.
Parameters [paths] Path or array of paths to add
Returns Array of paths
bind( from : mixed, ignore : mixed=array() ) : boolean
Binds a subject (normally a record) to the object.
Pages:
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537