This commit is contained in:
Rich Lott / Artful Robot 2024-02-28 13:00:56 +00:00
parent 3b393be4f4
commit 0b96026602
17 changed files with 458 additions and 38 deletions

View file

@ -6,7 +6,7 @@
*
* Generated from contactcats/xml/schema/CRM/Contactcats/ContactCategory.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
* (GenCodeChecksum:c8054b52817309c4eb67221623e1c29e)
* (GenCodeChecksum:01a6344ef3d86c080e4362dafa008d13)
*/
use CRM_Contactcats_ExtensionUtil as E;
@ -97,8 +97,10 @@ class CRM_Contactcats_DAO_ContactCategory extends CRM_Core_DAO {
'entity' => 'ContactCategory',
'bao' => 'CRM_Contactcats_DAO_ContactCategory',
'localizable' => 0,
'FKClassName' => 'CRM_Contact_DAO_Contact',
'html' => [
'type' => 'Number',
'type' => 'EntityRef',
'label' => E::ts("Contact"),
],
'readonly' => TRUE,
'add' => NULL,
@ -124,8 +126,8 @@ class CRM_Contactcats_DAO_ContactCategory extends CRM_Core_DAO {
'type' => 'Select',
],
'pseudoconstant' => [
'optionGroupName' => 'ContactCategories',
'optionEditPath' => 'civicrm/admin/options/ContactCategories',
'optionGroupName' => 'contact_categories',
'optionEditPath' => 'civicrm/admin/options/contact_categories',
],
'add' => NULL,
],
@ -147,8 +149,8 @@ class CRM_Contactcats_DAO_ContactCategory extends CRM_Core_DAO {
'bao' => 'CRM_Contactcats_DAO_ContactCategory',
'localizable' => 0,
'pseudoconstant' => [
'optionGroupName' => 'ContactCategories',
'optionEditPath' => 'civicrm/admin/options/ContactCategories',
'optionGroupName' => 'contact_categories',
'optionEditPath' => 'civicrm/admin/options/contact_categories',
],
'add' => NULL,
],

View file

@ -0,0 +1,17 @@
<?php
use CRM_Contactcats_ExtensionUtil as E;
class CRM_Contactcats_Page_Settings extends CRM_Core_Page {
public function run() {
// Example: Set the page-title dynamically; alternatively, declare a static title in xml/Menu/*.xml
CRM_Utils_System::setTitle(E::ts('Contact Category Settings'));
// Example: Assign a variable for use in a template
// $this->assign('currentTime', date('Y-m-d H:i:s'));
Civi::service('angularjs.loader')->addModules('crmContactcats');
parent::run();
}
}