*
* Generated from xml/schema/CRM/Core/Menu.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:43fa7e0ff85619af0065d2802de6f8f4)
+ * (GenCodeChecksum:190bae10088eb0999743b73f39fc92ca)
*/
/**
public static $_log = FALSE;
/**
- * @var int
+ * @var int|string|null
+ * (SQL type: int unsigned)
+ * Note that values will be retrieved from the database as a string.
*/
public $id;
/**
* Which Domain is this menu item for
*
- * @var int
+ * @var int|string
+ * (SQL type: int unsigned)
+ * Note that values will be retrieved from the database as a string.
*/
public $domain_id;
/**
* Path Name
*
- * @var string
+ * @var string|null
+ * (SQL type: varchar(255))
+ * Note that values will be retrieved from the database as a string.
*/
public $path;
/**
* Arguments to pass to the url
*
- * @var text
+ * @var string|null
+ * (SQL type: text)
+ * Note that values will be retrieved from the database as a string.
*/
public $path_arguments;
/**
- * @var string
+ * @var string|null
+ * (SQL type: varchar(255))
+ * Note that values will be retrieved from the database as a string.
*/
public $title;
/**
* Function to call to check access permissions
*
- * @var string
+ * @var string|null
+ * (SQL type: varchar(255))
+ * Note that values will be retrieved from the database as a string.
*/
public $access_callback;
/**
* Arguments to pass to access callback
*
- * @var text
+ * @var string|null
+ * (SQL type: text)
+ * Note that values will be retrieved from the database as a string.
*/
public $access_arguments;
/**
* function to call for this url
*
- * @var string
+ * @var string|null
+ * (SQL type: varchar(255))
+ * Note that values will be retrieved from the database as a string.
*/
public $page_callback;
/**
* Arguments to pass to page callback
*
- * @var text
+ * @var string|null
+ * (SQL type: text)
+ * Note that values will be retrieved from the database as a string.
*/
public $page_arguments;
/**
* Breadcrumb for the path.
*
- * @var text
+ * @var string|null
+ * (SQL type: text)
+ * Note that values will be retrieved from the database as a string.
*/
public $breadcrumb;
/**
* Url where a page should redirected to, if next url not known.
*
- * @var string
+ * @var string|null
+ * (SQL type: varchar(255))
+ * Note that values will be retrieved from the database as a string.
*/
public $return_url;
/**
* Arguments to pass to return_url
*
- * @var string
+ * @var string|null
+ * (SQL type: varchar(255))
+ * Note that values will be retrieved from the database as a string.
*/
public $return_url_args;
/**
* Component that this menu item belongs to
*
- * @var int
+ * @var int|string|null
+ * (SQL type: int unsigned)
+ * Note that values will be retrieved from the database as a string.
*/
public $component_id;
/**
* Is this menu item active?
*
- * @var bool
+ * @var bool|string
+ * (SQL type: tinyint)
+ * Note that values will be retrieved from the database as a string.
*/
public $is_active;
/**
* Is this menu accessible to the public?
*
- * @var bool
+ * @var bool|string
+ * (SQL type: tinyint)
+ * Note that values will be retrieved from the database as a string.
*/
public $is_public;
/**
* Is this menu exposed to the navigation system?
*
- * @var bool
+ * @var bool|string
+ * (SQL type: tinyint)
+ * Note that values will be retrieved from the database as a string.
*/
public $is_exposed;
/**
* Should this menu be exposed via SSL if enabled?
*
- * @var bool
+ * @var bool|string
+ * (SQL type: tinyint)
+ * Note that values will be retrieved from the database as a string.
*/
public $is_ssl;
/**
* Ordering of the menu items in various blocks.
*
- * @var int
+ * @var int|string
+ * (SQL type: int)
+ * Note that values will be retrieved from the database as a string.
*/
public $weight;
/**
* Drupal menu type.
*
- * @var int
+ * @var int|string
+ * (SQL type: int)
+ * Note that values will be retrieved from the database as a string.
*/
public $type;
/**
* CiviCRM menu type.
*
- * @var int
+ * @var int|string
+ * (SQL type: int)
+ * Note that values will be retrieved from the database as a string.
*/
public $page_type;
/**
* skip this url being exposed to breadcrumb
*
- * @var bool
+ * @var bool|string
+ * (SQL type: tinyint)
+ * Note that values will be retrieved from the database as a string.
*/
public $skipBreadcrumb;
/**
* All other menu metadata not stored in other fields
*
- * @var text
+ * @var string|null
+ * (SQL type: text)
+ * Note that values will be retrieved from the database as a string.
*/
public $module_data;
'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',
'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',
'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',
'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',
'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',