當前位置: 首頁>>代碼示例>>PHP>>正文


PHP flexicontent_html::userlevel方法代碼示例

本文整理匯總了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;
    ?>
開發者ID:noxidsoft,項目名稱:flexicontent-cck,代碼行數:31,代碼來源:default.php


注:本文中的flexicontent_html::userlevel方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。