config, an associative array, can contain the keys name,
base_path, default_task, model_path, and view_path. name becomes the controller
name, unless the controller name is already defined by the subclass. default_task is the
task that will be executed by default (this is not the same as the method). model_path and
view_path are the paths in which to search for JModel and JView subclasses (JPATH_
COMPONENT is prepended to the paths).
Parameters [config] An associative array of configuration options
Methods
addModelPath( path : mixed ) : void
Adds paths to search for JModel subclass files. path can be a string or an array of strings.
Parameters path Path or array of paths to JModel subclass files
addViewPath( path : mixed ) : void
Adds paths to search for JView subclass files. path can be a string or an array of strings.
Parameters path Paths to JView subclass files
Appendix
[ 380 ]
authorize( task : string ) : boolean
If the object ACO Section is not defined authorization is automatically granted.
Pages:
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531