Skip to content

Releases: DivanDesign/EvolutionCMS.libraries.ddTools

Version 0.49.1

27 Apr 17:04
Compare
Choose a tag to compare
  • * \DDTools\ObjectTools::extend: Improved deep cloning objects to arrays.

Version 0.49

25 Apr 09:38
Compare
Choose a tag to compare
  • * \ddTools::parseText:
    • + Parameters → $params->data: Can also be set as JSON, HJSON or Query string.
    • * \DDTools\ObjectTools::extend is used instead of array_merge.
  • + README → Documentation → Parameters description → \ddTools::parseText($params).

Version 0.48.2

31 Mar 20:36
Compare
Choose a tag to compare
  • * \DDTools\ObjectTools::extend: Added deep object cloning to prevent references.

Version 0.48.1

29 Mar 04:47
Compare
Choose a tag to compare
  • * \DDTools\Snippet::prepareParams: Type of only existing params will be converted.

Version 0.48

26 Mar 17:00
Compare
Choose a tag to compare
  • + \DDTools\Snippet:
    • + $paramsTypes: The new property. Overwrite in child classes if you want to convert some parameters types.
    • + prepareParams: The parameter types will be converted respectively with $this->paramsTypes.

Version 0.47

20 Mar 14:39
Compare
Choose a tag to compare
  • + \DDTools\ObjectTools::convertType:
    • + Added HJSON support (closes #7).
    • + Improved detection of failed json_decode attempt.

Version 0.46

15 Mar 11:38
Compare
Choose a tag to compare
  • + \ddTools::updateDocument: Added default values for the following parameters:
    • + $docData->editedon: If it isn't set, it will be equal to current date-time (time()).
    • + $docData->editedby: If it isn't set, it will be equal to 1.

Version 0.45.1

12 Mar 08:54
Compare
Choose a tag to compare
  • * \DDTools\ObjectTools::extend:
    • * Recursion is called only if source value is an object or array.
    • * Optimization.

Version 0.45

11 Mar 08:04
Compare
Choose a tag to compare
  • + \DDTools\Response::isSuccess: The new public method.

Version 0.44

10 Mar 13:31
Compare
Choose a tag to compare
  • + \DDTools\Snippet::prepareParams: The new method.