BxGitHubConfig.php 1011 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <?php defined('BX_DOL') or die('hack attempt');
  2. /**
  3. * Copyright (c) UNA, Inc - https://una.io
  4. * MIT License - https://opensource.org/licenses/MIT
  5. *
  6. * @defgroup GitHub GitHub
  7. * @ingroup UnaModules
  8. *
  9. * @{
  10. */
  11. class BxGitHubConfig extends BxBaseModGeneralConfig
  12. {
  13. protected $_oDb;
  14. public function __construct($aModule)
  15. {
  16. parent::__construct($aModule);
  17. $this->CNF = array (
  18. // database tables
  19. 'TABLE_SETTINGS' => $aModule['db_prefix'] . 'settings',
  20. // database fields
  21. 'FIELD_' => '',
  22. // some params
  23. 'PARAM_' => 'bx_github_',
  24. // objects
  25. 'OBJECT_FORM_SETTINGS' => 'bx_github_form_settings',
  26. 'OBJECT_FORM_SETTINGS_DISPLAY_EDIT' => 'bx_github_form_settings_edit',
  27. );
  28. }
  29. public function init(&$oDb)
  30. {
  31. $this->_oDb = &$oDb;
  32. //NOTE: Some settings can be inited here.
  33. }
  34. }
  35. /** @} */