lithium\data\Source::_init PHP Method

_init() protected method

protected _init ( )
    protected function _init()
    {
        parent::_init();
        if ($this->_config['autoConnect']) {
            $this->connect();
        }
    }

Usage Example

Beispiel #1
0
 protected function _init()
 {
     $config = $this->_config;
     unset($config['type']);
     $this->connection = $this->_instance('service', $config);
     parent::_init();
 }
All Usage Examples Of lithium\data\Source::_init