You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*\* Attention! (MODX)EvolutionCMS.libraries.ddTools >= 0.57 is required.
6
+
*\+ Parameters → `getPropValue`: You can now get the value of an object property or an array element in any nesting level. Just use `.` to get nested properties (see `\DDTools\ObjectTools::getPropValue` for more info).
7
+
*\* Parameters → `outputter` → Valid values:
8
+
* \+ The snippet can also return object as a native PHP object or array (it is convenient to call through `\DDTools\Snippet`). The following new values:
9
+
* \* `'objectAuto'`.
10
+
* \* `'objectStdClass'`.
11
+
* \* `'objectArray'`.
12
+
* \* The foillowing have been changed (with backward compatibility):
*\+ Parameters → `extend->objects`: Can also be set as [JSON](https://en.wikipedia.org/wiki/JSON), [HJSON](https://hjson.github.io/) or [Query string](https://en.wikipedia.org/wiki/Query_string).
6
21
@@ -26,7 +41,7 @@
26
41
27
42
## Version 0.3 (2020-06-03)
28
43
*\* Attention! (MODX)EvolutionCMS.libraries.ddTools >= 0.38.1 is required.
29
-
*\+ Parameters → `sourceObject`, `extend`: Can also be set as `stringQueryFormated`.
44
+
*\+ Parameters → `sourceObject`, `extend`: Can also be set as `stringQueryFormatted`.
*\* Внимание! Требуется (MODX)EvolutionCMS.libraries.ddTools >= 0.57.
6
+
*\+ Параметры → `getPropValue`: Теперь сниппет умеет получать значение свойства объекта или элемента массива на любом уровне вложенности. Просто используйте '.' в параметре для получения свойств вложенных элементов (больше информации см. `\DDTools\ObjectTools::getPropValue`).
* \+ Сниппет теперь также умеет возвращать объект в виде нативного PHP объекта или массива (удобно при вызове через `\DDTools\Snippet`). Новые значения:
9
+
* \* `'objectAuto'`.
10
+
* \* `'objectStdClass'`.
11
+
* \* `'objectArray'`.
12
+
* \* Следующие допустимые значения изменены (с обратной совместимостью):
*\+ Параметры → `extend->objects`: Также может быть задан, как [JSON](https://ru.wikipedia.org/wiki/JSON), [HJSON](https://hjson.github.io/) или [Query string](https://en.wikipedia.org/wiki/Query_string).
6
21
@@ -26,7 +41,7 @@
26
41
27
42
## Версия 0.3 (2020-06-03)
28
43
*\* Внимание! Требуется (MODX)EvolutionCMS.libraries.ddTools >= 0.38.1.
29
-
*\+ Параметры → `sourceObject`, `extend`: Также может задаваться как `stringQueryFormated`.
44
+
*\+ Параметры → `sourceObject`, `extend`: Также может задаваться как `stringQueryFormatted`.
0 commit comments