path, if specified, is the path to an XML file defining the
parameters; if not specified, the default user XML file is used.
Parameters data INI parameter string
[path] XML parameter definition file path
_bind( from : mixed, ignore : string='' ) : boolean
Used by the bind() and load() methods to bind data to the object. from must be an
object or associative array. ignore defines a list of key/property names that should not be
bound to the object.
Parameters from Object or associative array to bind
[ignore] Properties and keys to ignore
Returns true on success
_setError( msg : string ) : void
Appends msg to the object's error log.
Parameters msg Error message
Appendix
[ 372 ]
JModel
abstract, extends JObject
Base class for model classes that use the MVC implementation. For more information about
JModel refer to Chapter 4.
Properties
_db : JDatabase Reference to the database connection
_name: string Model name
_state : JObject State of the object
Constructors
__construct( config : array=array() ) : JModel
Builds a new JModel object.
Pages:
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519