$method. If the
specified model does not exist then the request will passed to the parent (JObject) class
JObject::get($method, $model).
Parameters method Method or property to return
[model] Model to run the method on, or default value
Returns
get accessor result. false on failure (can be ambiguous depending upon
the method being called, or the property being returned).
Appendix
[ 377 ]
getLayout( ) : string
Gets the view layout.
Returns View layout
&getModel( name : string=null ) : JModel
Gets a JModel subclass object from the view. name is the name of the JModel class. If name
is not provided, the default model is retrieved. JView supports a one-to-many relationship
with JModels, but only one object per class.
Parameters [name] Name of model class
Returns Reference to a registered model
getName( ) : string
Gets the name of the view.
Returns View name
loadHelper( hlp : string=null ) : string
Searches known helper paths for the specified helper.
Parameters [tpl] Template suffix
Returns Rendered template
loadTemplate( tpl : string=null ) : string
Loads and renders a template.
Pages:
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527