Created
February 7, 2013 13:15
-
-
Save vanchelo/4730831 to your computer and use it in GitHub Desktop.
parseChunk for MODX Evo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* parseChunk | |
* | |
* @category parser | |
* @version 0.1 | |
* @license GNU General Public License (GPL), http://www.gnu.org/copyleft/gpl.html | |
* @param string $ChunkName Имя чанка | |
* @return string распарсеный чанк | |
* @author Agel_Nash <Agel_Nash@xaker.ru> | |
* | |
* @example [!parseChunk? &ChunkName=`form` &username=`Agel_Nash`!] | |
*/ | |
return isset($ChunkName) ? $modx->parseChunk($ChunkName, $modx->event->params,'[+','+]') : ''; | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment