PageRenderTime 53ms CodeModel.GetById 20ms RepoModel.GetById 0ms app.codeStats 0ms

/baser/views/elements/submenu.php

https://github.com/hashing/basercms
PHP | 28 lines | 10 code | 0 blank | 18 comment | 1 complexity | cfda38a042cbf485a48f41922d757954 MD5 | raw file
Possible License(s): MIT
  1. <?php
  2. /* SVN FILE: $Id$ */
  3. /**
  4. * [PUBLISH] サイドメニュー
  5. *
  6. * PHP versions 5
  7. *
  8. * baserCMS : Based Website Development Project <http://basercms.net>
  9. * Copyright 2008 - 2012, baserCMS Users Community <http://sites.google.com/site/baserusers/>
  10. *
  11. * @copyright Copyright 2008 - 2012, baserCMS Users Community
  12. * @link http://basercms.net baserCMS Project
  13. * @package baser.views
  14. * @since baserCMS v 0.1.0
  15. * @version $Revision$
  16. * @modifiedby $LastChangedBy$
  17. * @lastmodified $Date$
  18. * @license http://basercms.net/license/index.html
  19. */
  20. $elementPath = 'submenus'.DS;
  21. if (!empty($subMenuElements)){
  22. foreach ($subMenuElements as $subMenuElement){
  23. $bcBaser->element($elementPath.$subMenuElement);
  24. }
  25. }else{
  26. echo '&nbsp';
  27. }
  28. ?>