Merge pull request #14249 from yashodha/959_dev
[civicrm-core.git] / CRM / Core / DAO / Navigation.php
index 60f0c807ddb0984982b2fbdbb31652e06c506225..2aa3fc3d0d21a88c4deac3842258647ceda39609 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Navigation.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:f168de98d6c4d46c63abfd789f6fdf24)
+ * (GenCodeChecksum:377bbf9cfce4cb146a9638344c718b11)
  */
 
 /**
@@ -29,14 +29,14 @@ class CRM_Core_DAO_Navigation extends CRM_Core_DAO {
   public static $_log = FALSE;
 
   /**
-   * @var int unsigned
+   * @var int
    */
   public $id;
 
   /**
    * Which Domain is this navigation item for
    *
-   * @var int unsigned
+   * @var int
    */
   public $domain_id;
 
@@ -85,21 +85,21 @@ class CRM_Core_DAO_Navigation extends CRM_Core_DAO {
   /**
    * Parent navigation item, used for grouping
    *
-   * @var int unsigned
+   * @var int
    */
   public $parent_id;
 
   /**
    * Is this navigation item active?
    *
-   * @var boolean
+   * @var bool
    */
   public $is_active;
 
   /**
    * If separator needs to be added after this menu item
    *
-   * @var boolean
+   * @var bool
    */
   public $has_separator;
 
@@ -147,6 +147,7 @@ class CRM_Core_DAO_Navigation extends CRM_Core_DAO {
           'type' => CRM_Utils_Type::T_INT,
           'title' => ts('Navigation ID'),
           'required' => TRUE,
+          'where' => 'civicrm_navigation.id',
           'table_name' => 'civicrm_navigation',
           'entity' => 'Navigation',
           'bao' => 'CRM_Core_BAO_Navigation',
@@ -158,6 +159,7 @@ class CRM_Core_DAO_Navigation extends CRM_Core_DAO {
           'title' => ts('Navigation Domain'),
           'description' => ts('Which Domain is this navigation item for'),
           'required' => TRUE,
+          'where' => 'civicrm_navigation.domain_id',
           'table_name' => 'civicrm_navigation',
           'entity' => 'Navigation',
           'bao' => 'CRM_Core_BAO_Navigation',
@@ -167,7 +169,7 @@ class CRM_Core_DAO_Navigation extends CRM_Core_DAO {
             'table' => 'civicrm_domain',
             'keyColumn' => 'id',
             'labelColumn' => 'name',
-          ]
+          ],
         ],
         'label' => [
           'name' => 'label',
@@ -176,6 +178,7 @@ class CRM_Core_DAO_Navigation extends CRM_Core_DAO {
           'description' => ts('Navigation Title'),
           'maxlength' => 255,
           'size' => CRM_Utils_Type::HUGE,
+          'where' => 'civicrm_navigation.label',
           'table_name' => 'civicrm_navigation',
           'entity' => 'Navigation',
           'bao' => 'CRM_Core_BAO_Navigation',
@@ -188,6 +191,7 @@ class CRM_Core_DAO_Navigation extends CRM_Core_DAO {
           'description' => ts('Internal Name'),
           'maxlength' => 255,
           'size' => CRM_Utils_Type::HUGE,
+          'where' => 'civicrm_navigation.name',
           'table_name' => 'civicrm_navigation',
           'entity' => 'Navigation',
           'bao' => 'CRM_Core_BAO_Navigation',
@@ -200,6 +204,7 @@ class CRM_Core_DAO_Navigation extends CRM_Core_DAO {
           'description' => ts('url in case of custom navigation link'),
           'maxlength' => 255,
           'size' => CRM_Utils_Type::HUGE,
+          'where' => 'civicrm_navigation.url',
           'table_name' => 'civicrm_navigation',
           'entity' => 'Navigation',
           'bao' => 'CRM_Core_BAO_Navigation',
@@ -213,6 +218,7 @@ class CRM_Core_DAO_Navigation extends CRM_Core_DAO {
           'required' => FALSE,
           'maxlength' => 255,
           'size' => CRM_Utils_Type::HUGE,
+          'where' => 'civicrm_navigation.icon',
           'default' => 'NULL',
           'table_name' => 'civicrm_navigation',
           'entity' => 'Navigation',
@@ -226,6 +232,7 @@ class CRM_Core_DAO_Navigation extends CRM_Core_DAO {
           'description' => ts('Permission for menu item'),
           'maxlength' => 255,
           'size' => CRM_Utils_Type::HUGE,
+          'where' => 'civicrm_navigation.permission',
           'table_name' => 'civicrm_navigation',
           'entity' => 'Navigation',
           'bao' => 'CRM_Core_BAO_Navigation',
@@ -238,6 +245,7 @@ class CRM_Core_DAO_Navigation extends CRM_Core_DAO {
           'description' => ts('Permission Operator'),
           'maxlength' => 3,
           'size' => CRM_Utils_Type::FOUR,
+          'where' => 'civicrm_navigation.permission_operator',
           'table_name' => 'civicrm_navigation',
           'entity' => 'Navigation',
           'bao' => 'CRM_Core_BAO_Navigation',
@@ -248,6 +256,7 @@ class CRM_Core_DAO_Navigation extends CRM_Core_DAO {
           'type' => CRM_Utils_Type::T_INT,
           'title' => ts('Navigation parent ID'),
           'description' => ts('Parent navigation item, used for grouping'),
+          'where' => 'civicrm_navigation.parent_id',
           'table_name' => 'civicrm_navigation',
           'entity' => 'Navigation',
           'bao' => 'CRM_Core_BAO_Navigation',
@@ -258,13 +267,14 @@ class CRM_Core_DAO_Navigation extends CRM_Core_DAO {
             'keyColumn' => 'id',
             'labelColumn' => 'label',
             'nameColumn' => 'name',
-          ]
+          ],
         ],
         'is_active' => [
           'name' => 'is_active',
           'type' => CRM_Utils_Type::T_BOOLEAN,
           'title' => ts('Is Active'),
           'description' => ts('Is this navigation item active?'),
+          'where' => 'civicrm_navigation.is_active',
           'table_name' => 'civicrm_navigation',
           'entity' => 'Navigation',
           'bao' => 'CRM_Core_BAO_Navigation',
@@ -275,6 +285,7 @@ class CRM_Core_DAO_Navigation extends CRM_Core_DAO {
           'type' => CRM_Utils_Type::T_BOOLEAN,
           'title' => ts('Use separator'),
           'description' => ts('If separator needs to be added after this menu item'),
+          'where' => 'civicrm_navigation.has_separator',
           'table_name' => 'civicrm_navigation',
           'entity' => 'Navigation',
           'bao' => 'CRM_Core_BAO_Navigation',
@@ -285,6 +296,7 @@ class CRM_Core_DAO_Navigation extends CRM_Core_DAO {
           'type' => CRM_Utils_Type::T_INT,
           'title' => ts('Order'),
           'description' => ts('Ordering of the navigation items in various blocks.'),
+          'where' => 'civicrm_navigation.weight',
           'table_name' => 'civicrm_navigation',
           'entity' => 'Navigation',
           'bao' => 'CRM_Core_BAO_Navigation',