Parameters name Name of JTable
[prefix] Class prefix, normally Table or JTable
Returns Reference to a new instance of a JTable subclass object
&_getList( query : string, limitstart : int =0, limit : int=0 ) : array
Executes a query and gets a reference to an array of resultant objects.
Parameters query Query to execute
[limitstart] Start record
[limit] Maximum number of records
Returns Reference to an array of objects as a result of the query
_getListCount( query : string ) : int
Gets the number of results obtained from query. Should be used cautiously; causes the
query to be executed. If possible, consider using $db->getNumRows() directly after &_
getList(); this prevents the query being executed twice.
Parameters [query] Query to count number of results from
Returns Number of results
JView
abstract, extends JObject
Base class for view classes that use the MVC implementation. For more
information about JModel refer to Chapter 4.
Appendix
[ 375 ]
Properties
_basePath : string Path to view base
_defaultModel : string Name of the default model
_escape : array
Array of names of functions used to escape output.
Pages:
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523