Skip to content

Instantly share code, notes, and snippets.

View colemanw's full-sized avatar
🎯
Focusing

colemanw

🎯
Focusing
View GitHub Profile
@mickadoo
mickadoo / is_reserved_meaning.md
Last active March 29, 2018 11:10
Discussion on the current meaning of `is_reserved` and `is_locked` in CiviCRM. Suggestions for improvements.

DAO Definitions

These definitions are from the docblock comment on the DAO properties. A quick search for public $is_reserved showed 10 entities with this property, but I will focus on these three for now.

Option Group
  • is_reserved: Is this a predefined system option group (i.e. it can not be deleted)?
  • is_locked: A lock to remove the ability to add new options via the UI.
Option Value
// Currently going to latest.civicrm.org/stable.php outputs:
4.5.2
// Proposed new output (B)
[
{version: "4.4.0"},
{version: "4.4.1"},
{version: "4.4.2", security: true}
{version: "4.5.0"},
{version: "4.5.1"},