CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • Doctrine connection in entension
Pages: [1]

Author Topic: Doctrine connection in entension  (Read 285 times)

eftakhairul

  • I’m new here
  • *
  • Posts: 21
  • Karma: 0
  • Software Engineer and Open Source Enthusiastic
    • Eftakhairul World
  • CiviCRM version: 4.4
  • CMS version: wordpress
  • MySQL version: 5.5.35
  • PHP version: 5.3.10
Doctrine connection in entension
June 23, 2014, 03:20:15 pm
Hi everyone,

I am making an module extension named civicrm voice broadcast (extension is not any CMS specified and CiViCRM version is 4.4.5). I am planning to use Doctrine for DB persistence. But, I want to know the best approach to connect doctrine with CIVICRM database.

I already got this one: https://github.com/civicrm/civicrm-core/blob/doctrine/install/civicrm.php. But, I need more suggestions to get the civicrm DSN that I can use to configure doctrine connection in the extension? I would prefer to have some example code snippets on this.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • Doctrine connection in entension

This forum was archived on 2017-11-26.