li3

NewsDocumentationVersionsPresentationsCommunityDevelopment
  • Documentation
  • Framework API (1.2.x)
  • lithium
  • data
  • source
  • database
  • adapter
  • Sqlite3
  • _init()

Contents

  • ../

lithium\data\source\database\adapter\Sqlite3::_init()

Overrides lithium\core\ObjectDeprecated::_init()
protected method

Initializer. Constructs a DSN from configuration.

Returns

void

Source

	protected function _init() {
		$this->_config['dsn'] = sprintf("sqlite:%s", $this->_config['database']);
		parent::_init();
	}
GitHub / Twitter / Reddit / Stack Overflow
Testimonial Image

– no comment –

Pretty much everything is (c) 2009-2025 and beyond, the Union of RAD.