CI_Loader::dbforge()

dbforge([$db = NULL[, $return = FALSE]])

Parameters:
  • $db (object) – Database object
  • $return (bool) – Whether to return the Database Forge instance
Returns:

Loaded CI_DB_forge instance if $return is set to TRUE, otherwise CI_Loader instance (method chaining)

Return type:

mixed

Loads the Database Forge class, please refer to that manual for more info.

doc_CodeIgniter
2016-10-15 16:31:43
Comments
Leave a Comment

Please login to continue.