Overriding methods
should always call parent::__construct().
Appendix
[ 367 ]
Methods
get( property : string, default : mixed=null ) : mixed
Accessor; gets the value of the requested property. If the property is not set, then the
optional default value will be returned. This method will not return a reference; in
subclasses it can be beneficial to add specific methods where a reference to a property is
more suitable. Private properties, identified by an underscore at the start of the name, can
be returned using this method.
Parameters property Name of the property to return
[default] The default value to return if the property has
not been initialized
Returns Value of property
getError( i : int=null, toString : boolean=true ) : mixed
Returns an error that occurred during the execution of one of the object's methods. The
error can be an object or a string. See JError for more information about errors.
Parameters [i] Error number; by default the last error is retrieved
[toString] Return a string even if the error is an object
Returns Error object or string associated with the object
getErrors( ) : array
Returns a copy of the _error property.
Pages:
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512