[Dev-Change] DBAL properties like $db->any_char need changin

Discussion forum for Extension Writers regarding Extension Development.
Post Reply
User avatar
Marc
Development Team Leader
Development Team Leader
Posts: 5566
Joined: Tue Oct 30, 2007 10:57 pm
Location: Munich, Germany
Name: Marc
Contact:

[Dev-Change] DBAL properties like $db->any_char need changin

Post by Marc »

As a factory has been added for the database drivers, old syntax like calls to $db->any_char no longer works. Instead, extension authors will now have to call the appropriate methods.

These changes are as follows:
  • old: $db->sql_layer
    new: $db->get_sql_layer()
  • old: $db->db_connect_id
    new: $db->get_db_connect_id()
  • old: $db->any_char
    new: $db->get_any_char()
  • old: $db->dbname
    new: $db->get_db_name()
  • old: $db->transaction
    new: $db->get_transaction()
  • old: $db->sql_error_triggered
    new: $db->get_sql_error_triggered()
  • old: $db->sql_error_sql
    new: $db->get_sql_error_sql()
  • old: $db->one_char
    new: $db->get_one_char()
  • old: $db->sql_time
    new: $db->get_sql_time()
  • old: $db->sql_error_returned
    new: $db->get_sql_error_returned()
  • old: $db->multi_insert
    new: $db->get_multi_insert()
Post Reply

Return to “Extension Writers Discussion”