/** @see \samson\core\ExternalModule::init() */ public function init(array $params = array()) { parent::init($params); // Set table prefix dbMySQLConnector::$prefix = $this->prefix; db()->connect($this->name, $this->login, $this->pwd, $this->host, $this->port); //[PHPCOMPRESSOR(remove,start)] // Generate table relations $this->relations(); //[PHPCOMPRESSOR(remove,end)] }
/** @see \samson\core\ExternalModule::init() */ public function init(array $params = array()) { parent::init($params); // Set table prefix dbMySQLConnector::$prefix = $this->prefix; //db()->connect($this->name, $this->login, $this->pwd, $this->host, $this->port); }