JSchemaChangeitem::getInstance
Returns a reference to the JSchemaChangeitem object.
Signature
public function getInstance(JDatabaseDriver
$db,
string
$file,
string
$query )
Parameters
-
$db
- Database connector object
-
$file
- Full path name of the sql file
-
$query
- Text of the sql query (one line of the file)
Returns
- JSchemaChangeitem
- instance based on the database driver
Errors/Exceptions
-
RuntimeException
- if class for database driver not found