本文整理匯總了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) {