本文整理汇总了PHP中flexicontent_html::userlevel方法的典型用法代码示例。如果您正苦于以下问题:PHP flexicontent_html::userlevel方法的具体用法?PHP flexicontent_html::userlevel怎么用?PHP flexicontent_html::userlevel使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类flexicontent_html
的用法示例。
在下文中一共展示了flexicontent_html::userlevel方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: listItemTask
} else {
$advsearch_dirty = 1;
$isadvsearch = $row->isadvsearch == -1 ? "disconnect.png" : "connect.png";
$isadvsearch_tip = ($row->isadvsearch == 2 ? $flexi_yes : $flexi_no) . ", " . $flexi_toggle . ", " . $flexi_rebuild;
}
if ($row->isadvfilter == 0 || $row->isadvfilter == 1 || !$supportadvfilter) {
$advfilter_dirty = 0;
$isadvfilter = $row->isadvfilter && $supportadvfilter ? "filter.png" : "publish_x" . (!$supportadvfilter ? '_f2' : '') . ".png";
$isadvfilter_tip = $row->isadvfilter && $supportadvfilter ? $flexi_yes : ($supportadvfilter ? $flexi_no : $flexi_nosupport);
} else {
$advfilter_dirty = 1;
$isadvfilter = $row->isadvfilter == -1 ? "disconnect.png" : "connect.png";
$isadvfilter_tip = ($row->isadvfilter == 2 ? $flexi_yes : $flexi_no) . ", " . $flexi_rebuild;
}
if ($canPublish) {
$access = flexicontent_html::userlevel('access[' . $row->id . ']', $row->access, 'onchange="return listItemTask(\'cb' . $i . '\',\'' . $ctrl . 'access\')"');
} else {
$access = $this->escape($row->access_level);
}
$checked = @JHTML::_('grid.checkedout', $row, $i);
$orphan_warning = '
<span class="' . $tip_class . '" title="' . flexicontent_html::getToolTip('FLEXI_WARNING', 'FLEXI_NO_TYPES_ASSIGNED', 1, 1) . '">
' . JHTML::image('administrator/components/com_flexicontent/assets/images/warning.png', JText::_('FLEXI_NO_TYPES_ASSIGNED'), ' class="fc-man-icon-s" ') . '
</span>';
?>
<tr class="<?php
echo "row{$k}";
?>
" style="<?php
echo $row_css;
?>