ls -l
| public static function prepare(array $data = array(), DocumentParser $modx, $_DocLister, prepare_DL_Extender $_extDocLister){ | |
| return $data; | |
| } | |
| //FormLister preare нельзять анонимно только название функции или метода | |
| function setSubject(DocumentParser $modx,array $data,\FormLister\Form $Fl,string $name) | |
| { | |
| } | |
| <?php | |
| /** | |
| * default config | |
| */ | |
| global $_lang; | |
| return [ | |
| 'General' => [ | |
| 'default' => true, |
| <?php | |
| /** @var $_DocLister DocLister */ | |
| /** @var $data array */ | |
| $placeholders = $data['placeholders']; | |
| $categoryTpl = $_DocLister->getCFGDef('categoryTpl'); | |
| $products = explode('<!--product-->',$placeholders['dl.wrap']); | |
| $products = array_filter($products); | |
| $groups = []; |