Releases: DivanDesign/EvolutionCMS.libraries.ddTools
Releases · DivanDesign/EvolutionCMS.libraries.ddTools
Version 0.29
- +
\DDTools\BaseClass::setExistingProps
: Can set properties of all parent and child classes.
Version 0.28
- +
\DDTools\FilesTools::createDir
(and\ddTools::createDir
as alias): Makes directory using$modx->config['new_folder_permissions']
. Nested directories will be created too. Doesn't throw an exception if the folder already exists.
Version 0.27
- +
\ddTools::encodedStringToArray
: Can take an array too (sometimes it's convenient to not think about it).
Version 0.26
- * Attention! Backward compatibility with 0.25 is broken.
- -
\DDTools\ObjectTools
. - +
\DDTools\BaseClass
. - +
\DDTools\BaseClass::setExistingProps
: Can set private properties too. - *
\DDTools\BaseClass::createChildInstance
: Fixed some bugs.
Version 0.25
- +
\DDTools\ObjectTools::setExistingProps
: The new method. Sets existing object properties. - +
\DDTools\ObjectTools::createChildInstance
: The new method. Creates an instance of the needed child class (e. g.\ddSendFeedback\Sender\Telegram\Sender
).
Version 0.24
- +
\ddTools::parseSource
: Uncashed snippets will be evaled too. - * Some refactoring and alpha functional.
Version 0.23
- +
\ddTools::parseText
:$params->data
can be set now asstdClass
. - *
\ddTools::encodedStringToArray
: Fixed event logging if$inputString
is empty.
Version 0.22
- +
\ddTools::sendMail
: SMTP support added. Many thanks to @Aharito. - +
\ddTools::createDocument
,\ddTools::updateDocument
: TV-dates wich set as unix time will be converted to correct system date format. - +
\ddTools::prepareDocData
: The new method. Prepare document data from single array of fields and TVs: separate them and get TVs additional data if needed. - *
\ddTools::explodeFieldsArr
is deprecated, use\ddTools::prepareDocData
instead (with backward compatibility).
Version 0.21
- +
\ddTools::$tables
: Added all MODX tables except deprecatedkeyword_xref
,site_content_metatags
,site_keywords
andsite_metatags
.
Version 0.20
- +
\ddTools::getPlaceholdersFromText
: The new method. Finds all placeholders' names and returns them as an array. - *
\ddTools::escapeForJS
: Fixed excessive backslach escaping.