X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FCore%2FDAO%2FExtension.php;h=67f396493f18d140678e73446bd8e9007c945b78;hb=a0741dc66a56012dca28350f8c1ddaad5ec03918;hp=be80ddb69711c4306e79be620aee8c264fafce85;hpb=e48ed441e7d36e73a3ea5554a8e59411e8eb9920;p=civicrm-core.git diff --git a/CRM/Core/DAO/Extension.php b/CRM/Core/DAO/Extension.php index be80ddb697..67f396493f 100644 --- a/CRM/Core/DAO/Extension.php +++ b/CRM/Core/DAO/Extension.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Core/Extension.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:02c87fb773b6c1e61e48e0ddfac2bb5a) + * (GenCodeChecksum:d7421ef144f074ada5688f6e56ab8418) */ /** @@ -31,7 +31,7 @@ class CRM_Core_DAO_Extension extends CRM_Core_DAO { /** * Local Extension ID * - * @var int unsigned + * @var int */ public $id; @@ -78,7 +78,7 @@ class CRM_Core_DAO_Extension extends CRM_Core_DAO { /** * Is this extension active? * - * @var boolean + * @var bool */ public $is_active; @@ -104,6 +104,7 @@ class CRM_Core_DAO_Extension extends CRM_Core_DAO { 'title' => ts('Extension ID'), 'description' => ts('Local Extension ID'), 'required' => TRUE, + 'where' => 'civicrm_extension.id', 'table_name' => 'civicrm_extension', 'entity' => 'Extension', 'bao' => 'CRM_Core_BAO_Extension', @@ -116,6 +117,7 @@ class CRM_Core_DAO_Extension extends CRM_Core_DAO { 'required' => TRUE, 'maxlength' => 8, 'size' => CRM_Utils_Type::EIGHT, + 'where' => 'civicrm_extension.type', 'table_name' => 'civicrm_extension', 'entity' => 'Extension', 'bao' => 'CRM_Core_BAO_Extension', @@ -125,7 +127,7 @@ class CRM_Core_DAO_Extension extends CRM_Core_DAO { ], 'pseudoconstant' => [ 'callback' => 'CRM_Core_SelectValues::getExtensionTypes', - ] + ], ], 'full_name' => [ 'name' => 'full_name', @@ -135,6 +137,7 @@ class CRM_Core_DAO_Extension extends CRM_Core_DAO { 'required' => TRUE, 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'where' => 'civicrm_extension.full_name', 'table_name' => 'civicrm_extension', 'entity' => 'Extension', 'bao' => 'CRM_Core_BAO_Extension', @@ -149,8 +152,6 @@ class CRM_Core_DAO_Extension extends CRM_Core_DAO { 'size' => CRM_Utils_Type::HUGE, 'import' => TRUE, 'where' => 'civicrm_extension.name', - 'headerPattern' => '', - 'dataPattern' => '', 'export' => TRUE, 'table_name' => 'civicrm_extension', 'entity' => 'Extension', @@ -166,8 +167,6 @@ class CRM_Core_DAO_Extension extends CRM_Core_DAO { 'size' => CRM_Utils_Type::HUGE, 'import' => TRUE, 'where' => 'civicrm_extension.label', - 'headerPattern' => '', - 'dataPattern' => '', 'export' => TRUE, 'table_name' => 'civicrm_extension', 'entity' => 'Extension', @@ -183,8 +182,6 @@ class CRM_Core_DAO_Extension extends CRM_Core_DAO { 'size' => CRM_Utils_Type::HUGE, 'import' => TRUE, 'where' => 'civicrm_extension.file', - 'headerPattern' => '', - 'dataPattern' => '', 'export' => TRUE, 'table_name' => 'civicrm_extension', 'entity' => 'Extension', @@ -200,8 +197,6 @@ class CRM_Core_DAO_Extension extends CRM_Core_DAO { 'size' => CRM_Utils_Type::BIG, 'import' => TRUE, 'where' => 'civicrm_extension.schema_version', - 'headerPattern' => '', - 'dataPattern' => '', 'export' => TRUE, 'table_name' => 'civicrm_extension', 'entity' => 'Extension', @@ -213,6 +208,7 @@ class CRM_Core_DAO_Extension extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Extension is Active?'), 'description' => ts('Is this extension active?'), + 'where' => 'civicrm_extension.is_active', 'default' => '1', 'table_name' => 'civicrm_extension', 'entity' => 'Extension',