當前位置: 首頁>>代碼示例>>PHP>>正文


PHP PerchUtil::subnav方法代碼示例

本文整理匯總了PHP中PerchUtil::subnav方法的典型用法代碼示例。如果您正苦於以下問題:PHP PerchUtil::subnav方法的具體用法?PHP PerchUtil::subnav怎麽用?PHP PerchUtil::subnav使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在PerchUtil的用法示例。


在下文中一共展示了PerchUtil::subnav方法的7個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: subnav

 public function subnav($CurrentUser, $opts)
 {
     return PerchUtil::subnav($CurrentUser, $opts, $this->Lang);
 }
開發者ID:jaredmedley,項目名稱:Perch-Core-Files,代碼行數:4,代碼來源:PerchAPI_HTML.class.php

示例2: array

<?php

echo PerchUtil::subnav($CurrentUser, array(array('page' => array('core/apps/content', 'core/apps/content/page', 'core/apps/content/page/add', 'core/apps/content/page/edit', 'core/apps/content/page/delete', 'core/apps/content/page/details', 'core/apps/content/edit', 'core/apps/content/options', 'core/apps/content/delete', 'core/apps/content/denied', 'core/apps/content/republish', 'core/apps/content/reorder', 'core/apps/content/reorder/region', 'core/apps/content/revisions', 'core/apps/content/revisions/revert', 'core/apps/content/collections', 'core/apps/content/collections/edit', 'core/apps/content/collections/edit/options', 'core/apps/content/collections/options', 'core/apps/content/collections/import', 'core/apps/content/delete/collection/item'), 'label' => 'Add/Edit'), array('page' => array('core/apps/content/manage/collections', 'core/apps/content/manage/collections/edit', 'core/apps/content/manage/collections/delete', 'core/apps/content/manage/collections/import'), 'label' => 'Collections', 'runway' => true, 'priv' => 'content.collections.manage'), array('page' => array('core/apps/content/page/templates', 'core/apps/content/page/templates/edit', 'core/apps/content/page/templates/delete'), 'label' => 'Master pages', 'priv' => 'content.templates.configure'), array('page' => array('core/apps/content/navigation', 'core/apps/content/navigation/edit', 'core/apps/content/navigation/pages', 'core/apps/content/navigation/reorder', 'core/apps/content/navigation/delete'), 'label' => 'Navigation groups', 'priv' => 'content.navgroups.configure'), array('page' => array('core/apps/content/routes', 'core/apps/content/routes/reorder', 'core/apps/content/routes/delete'), 'label' => 'Routes', 'runway' => true, 'priv' => 'content.routes.manage')));
開發者ID:Bloom-web,項目名稱:bloom-web,代碼行數:3,代碼來源:_subnav.php

示例3: array

<?php

echo PerchUtil::subnav($CurrentUser, array(array('page' => 'core/settings', 'label' => 'General'), array('page' => array('core/settings/backup', 'core/settings/backup/edit', 'core/settings/backup/restore', 'core/settings/backup/restore/general', 'core/settings/backup/delete'), 'label' => 'Backup', 'runway' => true, 'priv' => 'perch.backups.manage'), array('page' => 'core/settings/email', 'label' => 'Email'), array('page' => 'core/settings/tasks', 'label' => 'Scheduled tasks'), array('page' => 'core/settings/diagnostics', 'label' => 'Diagnostics')));
開發者ID:Bloom-web,項目名稱:bloom-web,代碼行數:3,代碼來源:_subnav.php

示例4: array

<?php

echo PerchUtil::subnav($CurrentUser, array(array('page' => 'core/users,core/users/edit,core/users/add,core/users/delete', 'label' => 'Add/Edit'), array('page' => 'core/users/roles,core/users/roles/edit,core/users/roles/delete,core/users/roles/actions', 'label' => 'Roles')));
開發者ID:Bloom-web,項目名稱:bloom-web,代碼行數:3,代碼來源:_subnav.php

示例5: array

<?php

echo PerchUtil::subnav($CurrentUser, array(array('page' => array('core/apps/assets', 'core/apps/assets/edit', 'core/apps/assets/delete'), 'label' => 'Add/Edit'), array('page' => array('core/apps/assets/tags', 'core/apps/assets/tags/edit', 'core/apps/assets/tags/delete'), 'label' => 'Tags')));
開發者ID:Bloom-web,項目名稱:bloom-web,代碼行數:3,代碼來源:_subnav.php

示例6: array

<?php

echo PerchUtil::subnav($CurrentUser, array(array('page' => 'core/account', 'label' => 'My Account')));
開發者ID:Bloom-web,項目名稱:bloom-web,代碼行數:3,代碼來源:_subnav.php

示例7: array

<?php

echo PerchUtil::subnav($CurrentUser, array(array('page' => array('core/help', 'core/help/textile', 'core/help/markdown'), 'label' => 'Help')));
開發者ID:Bloom-web,項目名稱:bloom-web,代碼行數:3,代碼來源:_subnav.php


注:本文中的PerchUtil::subnav方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。