Releases: DivanDesign/EvolutionCMS.libraries.ddTools
Releases · DivanDesign/EvolutionCMS.libraries.ddTools
Version 0.14.2
- + Added a global statement at the beginning to make sure that
$modxis available. Without the statement an error occurs while autoloading via Composer.
Version 0.14.1
- * The following methods need their
$publicationand$deletedparameters to be set as'all'to return the required documents regardless of their publication and / or removal status(es). The previous value (false) is still supported but causes a warning in the log and will be dropped sometime:- *
\ddTools::getDocuments. - *
\ddTools::getDocument. - *
\ddTools::getTemplateVars. - *
\ddTools::getTemplateVarOutput. - *
\ddTools::getDocumentChildren. - *
\ddTools::getDocumentChildrenTVarOutput.
- *
- *
\ddTools::getTemplateVars: Updated to 1.3. The method now returns the template variables of a document whether the document is deleted or not.
Version 0.14
- * The structure of the repository has been completely changed to meet the Composer requirements.
Version 0.13.3
- *
\ddTools::createDocument: Thepathof a new document now properly depends on thealias/idof its parent.
Version 0.13.2
- *
\ddTools::createDocument: The method has been slightly changed. The MODXdocumentMapandaliasListingconfig arrays are now being modified properly while the method is called.
Version 0.13.1
- *
\ddTools::sendMail: The method was slightly changed to eliminate errors in PHP 5.4−5.6 during headers validation:- * All double
\r\nand singe\r\nwere replaced with singlePHP_EOL. - * Leading or trailing
PHP_EOL's are now trimmed in email content.
- * All double
Version 0.13
- +
\ddTools::sendMail: The new method. It sends emails.
Version 0.12
- +
\ddTools::verifyRenamedParams: The new method. It checks an array for deprecated parameters and writes warning messages into the MODX event log. It returns an associative array, in which the correct parameter names are the keys and the parameter values are the values. You can use theexctractfunction to turn the array into variables of the current symbol table.
Version 0.11.1
- * The following methods have been slightly updated in accordance with MODX 1.0.13:
- *
\ddTools::getDocuments. - *
\ddTools::getTemplateVars. - *
\ddTools::getTemplateVarOutput. - *
\ddTools::getDocumentChildren. - *
\ddTools::getDocumentChildrenTVarOutput.
- *
Version 0.11
- +
\ddTools::ddTools::sort2dArray: The new method. It sorts 2-dimensional array by multiple columns (like in SQL) using Hoare’s method, also referred to as quicksort. The sorting is stable. - * Small changes for compatibility with old MODX versions.
- * Bugfix: The method
\ddTools::unfoldArraydidn’t used to be static.