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 | |
/*[[newGetTvList? &tvname=`articlestags`]] | |
* Аналогично: | |
*@EVAL return $modx->runSnippet('GetTvList',array('tvname'=>'articlestags')); | |
* | |
* | |
*Убирает все пробелы, заменяет ','=>'||' | |
*Сниппет получает все значения ТВ по tv.name и формирует в список возможных значений | |
*для tv Множественный выбор, Одиночный выбор. | |
*/ |