/** * Constructor. * Initialize internal attribut with parameters found in configuration. */ public function __construct () { $database = new $this->database_class; $this->_logger = LemonLDAP_Logger::getInstance(); $this->_engine = new LemonLDAP_Engine(); $this->_engine->setDatabase($database); $this->initializeFromConfiguration(); }
/** * Constructor. */ public function __construct ($engine) { $this->_engine = $engine; $this->_logger = LemonLDAP_Logger::getInstance(); $this->initializeFromConfiguration(); }