We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 51bbd1b commit 09e024aCopy full SHA for 09e024a
core/src/Revolution/modX.php
@@ -1954,8 +1954,10 @@ public function getChunk($chunkName, array $properties= []) {
1954
* @param string $prefix The placeholder prefix, defaults to [[+.
1955
* @param string $suffix The placeholder suffix, defaults to ]].
1956
* @return string The processed chunk with the placeholders replaced.
1957
+ * @deprecated Prefer using $modx->getChunk, to be removed in MODX 4.0.
1958
*/
1959
public function parseChunk($chunkName, $chunkArr, $prefix='[[+', $suffix=']]') {
1960
+ $this->deprecated('3.0.0', 'Use $modx->getChunk instead');
1961
$chunk= $this->getChunk($chunkName);
1962
if (!empty($chunk) || $chunk === '0') {
1963
if(is_array($chunkArr)) {
0 commit comments