1. 21 Jan, 2019 2 commits
  2. 18 Jan, 2019 6 commits
    • Jamie Carl's avatar
    • Jamie Carl's avatar
      Fixed automatic ChildArray and ChildModel creation · 689ca88c
      Jamie Carl authored
      Certain circumstances meant a ChildArray was being created instead of a ChildModel.
    • Jamie Carl's avatar
      Strict\Model: Allowed access to constructor args on object · 1c27e14d
      Jamie Carl authored
      This allows us to use the constructor args in callbacks that occur BEFORE construct is called, such as a prepare.
    • Jamie Carl's avatar
      Added a new field callback called 'prepare' · c0cd1cbb
      Jamie Carl authored
      This callback is always executed, regardless of the exec_filters flag, and is execute BEFORE anything else, giving the model a chance to prepare an individual value before processing it, even on a fresh populate, similar to the prepare() method that is used for preparing the entire data object.
      This could be used for field that can accept an update with an integer that is a DB record ID, then the prepare callback uses that ID to lookup a database record and return a row that is then used to populate the field childModel.
    • Jamie Carl's avatar
      Loader: Minor fix to call on preg_split · 6ed00f09
      Jamie Carl authored
    • Jamie Carl's avatar
      Added better support for dynamic child models · 1feb0f01
      Jamie Carl authored
      If a field is defined as of type 'model' it normally is supposed to have an 'items' element that defines what the model looks like.  Now, we are able to have a field of type 'model' without 'items' and it will create a childModel object with the allow_undefined flag enabled.  This means that more complex data can be stored in the childModel and still benefit from the functionality of strict models.
  3. 17 Jan, 2019 1 commit
  4. 16 Jan, 2019 4 commits
  5. 15 Jan, 2019 1 commit
  6. 25 Dec, 2018 1 commit
  7. 20 Dec, 2018 1 commit
  8. 18 Dec, 2018 4 commits
  9. 14 Dec, 2018 1 commit
  10. 13 Dec, 2018 1 commit
    • Jamie Carl's avatar
      Updated array_diff_assoc_recursive · f5c5f730
      Jamie Carl authored
      This function now accurately simulates the functionality of array_diff_assoc, but with recursion into child arrays as well as adds support for stdClass.
  11. 12 Dec, 2018 1 commit
  12. 11 Dec, 2018 13 commits
  13. 06 Dec, 2018 1 commit
  14. 03 Dec, 2018 1 commit
  15. 30 Nov, 2018 1 commit
  16. 28 Nov, 2018 1 commit