Skip to content

icms_db_Factory

Raimondas Rimkevičius edited this page Mar 9, 2020 · 1 revision
Notice: Wiki was automatic generated from project sources as project API documentation. Do not edit manually!

icms_db_Factory

Establishes database class and connection

  • Class name: icms_db_Factory
  • Namespace:

Methods

__construct

mixed icms_db_Factory::__construct()

Just making icms_db_Factory constructor private.

  • Visibility: private

instance

object icms_db_Factory::instance()

Get a reference to the only instance of database class and connects to DB

if the class has not been instantiated yet, this will also take care of that

  • Visibility: public
  • This method is static.

pdoInstance

mixed icms_db_Factory::pdoInstance()

Instanciate the PDO compatible DB adapter (if appropriate).

  • Visibility: public
  • This method is static.
Clone this wiki locally