本文整理汇总了PHP中Brick::getBrickFromRefAndTag方法的典型用法代码示例。如果您正苦于以下问题:PHP Brick::getBrickFromRefAndTag方法的具体用法?PHP Brick::getBrickFromRefAndTag怎么用?PHP Brick::getBrickFromRefAndTag使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Brick
的用法示例。
在下文中一共展示了Brick::getBrickFromRefAndTag方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: function
$oModal->displayEditBox(Brick::TYPE_MAP, $oBrick);
});
$wout->post('/ajax/edit.form.html', 'ajax_admin_middleware', function () use($wout, $utils) {
$oBrick = Brick::getBrickFromRefAndTag($utils->globals->post('page'), $utils->globals->post('ref'), $utils->globals->post('tag'), $utils->globals->session('lang') ?: $utils->getDefaultLanguage());
$oModal = new Modals();
$oModal->setTitle("Édition d'un formulaire", "application-form");
$oModal->displayEditBox(Brick::TYPE_FORM, $oBrick);
});
$wout->post('/ajax/edit.time.html', 'ajax_admin_middleware', function () use($wout, $utils) {
$oBrick = Brick::getBrickFromRefAndTag($utils->globals->post('page'), $utils->globals->post('ref'), $utils->globals->post('tag'), $utils->globals->session('lang') ?: $utils->getDefaultLanguage());
$oModal = new Modals();
$oModal->setTitle("Édition d'une date", "calendar-month");
$oModal->displayEditBox(Brick::TYPE_TIME, $oBrick);
});
$wout->post('/ajax/edit.file.html', 'ajax_admin_middleware', function () use($wout, $utils) {
$oBrick = Brick::getBrickFromRefAndTag($utils->globals->post('page'), $utils->globals->post('ref'), $utils->globals->post('tag'), $utils->globals->session('lang') ?: $utils->getDefaultLanguage());
$oModal = new Modals();
$oModal->setTitle("Édition d'un lien de téléchargement de fichier", "drive-download");
$oModal->displayEditBox(Brick::TYPE_FILE, $oBrick, true);
});
$wout->post('/ajax/root.brand.html', 'ajax_admin_middleware', function () use($wout, $utils) {
$oModal = new Modals();
$oModal->setTitle("Gestion du branding", "stamp");
$oModal->displayRootBox('brand');
});
$wout->post('/ajax/root.users.html', 'ajax_admin_middleware', function () use($wout, $utils) {
$oModal = new Modals();
$oModal->setTitle("Gestion des utilisateurs", "users");
$oModal->displayRootBox('users');
});
$wout->post('/ajax/root.config.html', 'ajax_admin_middleware', function () use($wout, $utils) {