JModelDatabase::__construct
Instantiate the model.
Signature
public function __construct([JRegistry
$state = null,
[JDatabaseDriver
$db = null]] )
Parameters
-
$state
- The model state.
-
$db
- The database adpater.