显示左Menu:
<?php
if ($oscTemplate->hasBlocks('boxes_column_left')) {
?><div id="columnLeft" class="grid_<?php echo $oscTemplate->getGridColumnWidth(); ?> pull_<?php echo $oscTemplate->getGridContentWidth(); ?>">
<?php echo $oscTemplate->getBlocks('boxes_column_left'); ?>
</div>
函数所在类: function hasBlocks($group) {
return (isset($this->_blocks[$group]) && !empty($this->_blocks[$group]));
} function getBlocks($group) {
if ($this->hasBlocks($group)) {
return implode("\n", $this->_blocks[$group]);
}
}
求高人指点下,如何显示Menu的..getBlocks 这个函数。
<?php
if ($oscTemplate->hasBlocks('boxes_column_left')) {
?><div id="columnLeft" class="grid_<?php echo $oscTemplate->getGridColumnWidth(); ?> pull_<?php echo $oscTemplate->getGridContentWidth(); ?>">
<?php echo $oscTemplate->getBlocks('boxes_column_left'); ?>
</div>
函数所在类: function hasBlocks($group) {
return (isset($this->_blocks[$group]) && !empty($this->_blocks[$group]));
} function getBlocks($group) {
if ($this->hasBlocks($group)) {
return implode("\n", $this->_blocks[$group]);
}
}
求高人指点下,如何显示Menu的..getBlocks 这个函数。
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货