X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FCore%2FDAO%2FMenu.php;h=40b8c76e762f5d0a32c96e4cc0cf50e00bb0ec34;hb=aa57f87a534f5796bcc2334b9aef86b075e7978c;hp=d2fc425efcb7a9013c9e8a769043c62e0f007911;hpb=508bfb89b08d9eab75d70728b1cbce1e8c54f18a;p=civicrm-core.git diff --git a/CRM/Core/DAO/Menu.php b/CRM/Core/DAO/Menu.php index d2fc425efc..40b8c76e76 100644 --- a/CRM/Core/DAO/Menu.php +++ b/CRM/Core/DAO/Menu.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Core/Menu.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:a6c1c555579640a8bb83b496ee126e1a) + * (GenCodeChecksum:190bae10088eb0999743b73f39fc92ca) */ /** @@ -146,7 +146,7 @@ class CRM_Core_DAO_Menu extends CRM_Core_DAO { /** * Is this menu item active? * - * @var bool|string|null + * @var bool|string * (SQL type: tinyint) * Note that values will be retrieved from the database as a string. */ @@ -155,7 +155,7 @@ class CRM_Core_DAO_Menu extends CRM_Core_DAO { /** * Is this menu accessible to the public? * - * @var bool|string|null + * @var bool|string * (SQL type: tinyint) * Note that values will be retrieved from the database as a string. */ @@ -164,7 +164,7 @@ class CRM_Core_DAO_Menu extends CRM_Core_DAO { /** * Is this menu exposed to the navigation system? * - * @var bool|string|null + * @var bool|string * (SQL type: tinyint) * Note that values will be retrieved from the database as a string. */ @@ -173,7 +173,7 @@ class CRM_Core_DAO_Menu extends CRM_Core_DAO { /** * Should this menu be exposed via SSL if enabled? * - * @var bool|string|null + * @var bool|string * (SQL type: tinyint) * Note that values will be retrieved from the database as a string. */ @@ -209,7 +209,7 @@ class CRM_Core_DAO_Menu extends CRM_Core_DAO { /** * skip this url being exposed to breadcrumb * - * @var bool|string|null + * @var bool|string * (SQL type: tinyint) * Note that values will be retrieved from the database as a string. */ @@ -468,7 +468,9 @@ class CRM_Core_DAO_Menu extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Enabled?'), 'description' => ts('Is this menu item active?'), + 'required' => TRUE, 'where' => 'civicrm_menu.is_active', + 'default' => '1', 'table_name' => 'civicrm_menu', 'entity' => 'Menu', 'bao' => 'CRM_Core_DAO_Menu', @@ -480,7 +482,9 @@ class CRM_Core_DAO_Menu extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Public?'), 'description' => ts('Is this menu accessible to the public?'), + 'required' => TRUE, 'where' => 'civicrm_menu.is_public', + 'default' => '0', 'table_name' => 'civicrm_menu', 'entity' => 'Menu', 'bao' => 'CRM_Core_DAO_Menu', @@ -492,7 +496,9 @@ class CRM_Core_DAO_Menu extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Exposed?'), 'description' => ts('Is this menu exposed to the navigation system?'), + 'required' => TRUE, 'where' => 'civicrm_menu.is_exposed', + 'default' => '1', 'table_name' => 'civicrm_menu', 'entity' => 'Menu', 'bao' => 'CRM_Core_DAO_Menu', @@ -504,7 +510,9 @@ class CRM_Core_DAO_Menu extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Use SSL?'), 'description' => ts('Should this menu be exposed via SSL if enabled?'), + 'required' => TRUE, 'where' => 'civicrm_menu.is_ssl', + 'default' => '1', 'table_name' => 'civicrm_menu', 'entity' => 'Menu', 'bao' => 'CRM_Core_DAO_Menu', @@ -558,7 +566,9 @@ class CRM_Core_DAO_Menu extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Hide Breadcrumb?'), 'description' => ts('skip this url being exposed to breadcrumb'), + 'required' => TRUE, 'where' => 'civicrm_menu.skipBreadcrumb', + 'default' => '0', 'table_name' => 'civicrm_menu', 'entity' => 'Menu', 'bao' => 'CRM_Core_DAO_Menu',