• 資訊面版
  • _var['menus']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('k', 'menu');$this->_foreach['foo'] = array('total' => count($_from), 'iteration' => 0); if ($this->_foreach['foo']['total'] > 0): foreach ($_from AS $this->_var['k'] => $this->_var['menu']): $this->_foreach['foo']['iteration']++; ?> _var['menu']['action'] ) && $this->_var['menu']['action']): ?>
  • _var['menu']['label']; ?>
  • _var['menu']['label']; ?> _var['menu']['children']): ?>
    _var['menu']['children']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'child');if (count($_from)): foreach ($_from AS $this->_var['child']): ?>
    _var['child']['label']; ?>
    pop_vars();; ?>
  • pop_vars();; ?>