Skip to content

Commit

Permalink
Prerelease
Browse files Browse the repository at this point in the history
  • Loading branch information
Ronef committed Nov 8, 2021
1 parent 447e7cc commit 6532b62
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 5 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# (MODX)EvolutionCMS.snippets.ddObjectTools changelog


## Version 0.5 (2021-11-08)
* \* Attention! (MODX)EvolutionCMS.libraries.ddTools >= 0.51 is required.
* \+ Parameters → `outputter`: The new parameter. Allows to forcibly convert the snippet result into a JSON object/array or URL-encoded query string if needed.


## Version 0.4 (2021-04-28)
* \* Attention! PHP >= 5.6 is required.
* \* Attention! (MODX)EvolutionCMS.libraries.ddTools >= 0.49.1 is required.
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG_ru.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# (MODX)EvolutionCMS.snippets.ddObjectTools changelog


## Версия 0.5 (2021-11-08)
* \* Внимание! Требуется (MODX)EvolutionCMS.libraries.ddTools >= 0.51.
* \+ Параметры → `outputter`: Новый параметр. Позволяет принудительно преобразовать результат сниппета в JSON объект/массив или URL-кодированную строку запроса, если это необходимо.


## Версия 0.4 (2021-04-28)
* \* Внимание! Требуется PHP >= 5.6.
* \* Внимание! Требуется (MODX)EvolutionCMS.libraries.ddTools >= 0.49.1.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Tools for modifying objects.
##### 1. Elements → Snippets: Create a new snippet with the following data

1. Snippet name: `ddObjectTools`.
2. Description: `<b>0.4</b> Tools for modifying objects.`.
2. Description: `<b>0.5</b> Tools for modifying objects.`.
3. Category: `Core`.
4. Parse DocBlock: `no`.
5. Snippet code (php): Insert content of the `ddObjectTools_snippet.php` file from the archive.
Expand Down
2 changes: 1 addition & 1 deletion README_ru.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
##### 1. Элементы → Сниппеты: Создайте новый сниппет со следующими параметрами

1. Название сниппета: `ddObjectTools`.
2. Описание: `<b>0.4</b> Tools for modifying objects.`.
2. Описание: `<b>0.5</b> Tools for modifying objects.`.
3. Категория: `Core`.
4. Анализировать DocBlock: `no`.
5. Код сниппета (php): Вставьте содержимое файла `ddObjectTools_snippet.php` из архива.
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "dd/evolutioncms-snippets-ddobjecttools",
"type": "modxevo-snippet",
"version": "0.4.0",
"version": "0.5.0",
"description": "Tools for modifying objects.",
"keywords": [
"modx",
Expand Down
2 changes: 1 addition & 1 deletion ddObjectTools_snippet.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* ddObjectTools
* @version 0.4 (2021-04-28)
* @version 0.5 (2021-11-08)
*
* @see README.md
*
Expand Down
2 changes: 1 addition & 1 deletion src/Snippet.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

class Snippet extends \DDTools\Snippet {
protected
$version = '0.4.0',
$version = '0.5.0',

$params = [
//Defaults
Expand Down

0 comments on commit 6532b62

Please sign in to comment.