Skip to content

Releases: DivanDesign/EvolutionCMS.libraries.ddTools

Version 0.29

26 Apr 05:50
Compare
Choose a tag to compare
  • + \DDTools\BaseClass::setExistingProps: Can set properties of all parent and child classes.

Version 0.28

26 Apr 06:40
Compare
Choose a tag to compare
  • + \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

26 Apr 06:40
Compare
Choose a tag to compare
  • + \ddTools::encodedStringToArray: Can take an array too (sometimes it's convenient to not think about it).

Version 0.26

26 Apr 06:39
Compare
Choose a tag to compare
  • * 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

26 Apr 06:39
Compare
Choose a tag to compare
  • + \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

26 Apr 06:38
Compare
Choose a tag to compare
  • + \ddTools::parseSource: Uncashed snippets will be evaled too.
  • * Some refactoring and alpha functional.

Version 0.23

26 Apr 06:38
Compare
Choose a tag to compare
  • + \ddTools::parseText: $params->data can be set now as stdClass.
  • * \ddTools::encodedStringToArray: Fixed event logging if $inputString is empty.

Version 0.22

26 Apr 06:37
Compare
Choose a tag to compare
  • + \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

26 Apr 06:37
Compare
Choose a tag to compare
  • + \ddTools::$tables: Added all MODX tables except deprecated keyword_xref, site_content_metatags, site_keywords and site_metatags.

Version 0.20

26 Apr 06:36
Compare
Choose a tag to compare
  • + \ddTools::getPlaceholdersFromText: The new method. Finds all placeholders' names and returns them as an array.
  • * \ddTools::escapeForJS: Fixed excessive backslach escaping.