Vagrant
- 1 ответ
- 0 вопросов
1
Вклад в тег
$objects = $modx->getCollection('modResource', [
'deleted' => 0,
'published' => 1,
'hidemenu' => 0,
'parent' => $modx->resource->get('id')
]);
$items = [];
foreach ($objects as $object) {
$items[] = $object->get('pagetitle') . '==' . $object->get('id');
}
return implode('||', $items);
@EVAL return '-- Выберите --||' . $modx->runSnippet('snptName');
sudo sh -c "echo 'precedence ::ffff:0:0/96 100' >> /etc/gai.conf"
php composer.phar config --global repo.packagist composer https://packagist.org