当前位置: 首页>>代码示例>>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;未经允许,请勿转载。