mailgunny/CRM/Mailgunny/Form/Settings.php

20 lines
509 B
PHP
Raw Normal View History

2018-12-13 16:40:26 +01:00
<?php
use CRM_Mailgunny_ExtensionUtil as E;
/**
* Form controller class
*
* @see https://wiki.civicrm.org/confluence/display/CRMDOC/QuickForm+Reference
*/
class CRM_Mailgunny_Form_Settings extends CRM_Admin_Form_Setting {
protected $_settings = [
2019-01-03 12:08:33 +01:00
'mailgun_api_key' => 'domain',
//'mailgun_api_key' => CRM_Core_BAO_Setting::SYSTEM_PREFERENCES_NAME,
2018-12-13 16:40:26 +01:00
];
public function buildQuickForm() {
parent::buildQuickForm();
$this->assign('elementNames', array_keys($this->_settings));
}
}