当前位置: 首页>>代码示例>>PHP>>正文


PHP flexicontent_html::statebutton方法代码示例

本文整理汇总了PHP中flexicontent_html::statebutton方法的典型用法代码示例。如果您正苦于以下问题:PHP flexicontent_html::statebutton方法的具体用法?PHP flexicontent_html::statebutton怎么用?PHP flexicontent_html::statebutton使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在flexicontent_html的用法示例。


在下文中一共展示了flexicontent_html::statebutton方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: if

	
  <?php if ($item->event->beforeDisplayContent) : ?>
	  <!-- BOF beforeDisplayContent -->
		<div class="fc_beforeDisplayContent group">
			<?php echo $item->event->beforeDisplayContent; ?>
		</div>
		<!-- EOF beforeDisplayContent -->
	<?php endif; ?>
	
	<?php
	$show_editbutton = $this->params->get('show_editbutton', 1);
	$pdfbutton = flexicontent_html::pdfbutton( $item, $this->params );
	$mailbutton = flexicontent_html::mailbutton( FLEXI_ITEMVIEW, $this->params, $item->categoryslug, $item->slug, 0, $item );
	$printbutton = flexicontent_html::printbutton( $this->print_link, $this->params );
	$editbutton = $show_editbutton ? flexicontent_html::editbutton( $item, $this->params ) : '';
	$statebutton = $show_editbutton ? flexicontent_html::statebutton( $item, $this->params ) : '';
	$approvalbutton = flexicontent_html::approvalbutton( $item, $this->params );
	?>
	
	<?php if ($pdfbutton || $mailbutton || $printbutton || $editbutton || $statebutton || $approvalbutton) : ?>
		<!-- BOF buttons -->
		<p class="buttons">
			<?php echo $pdfbutton; ?>
			<?php echo $mailbutton; ?>
			<?php echo $printbutton; ?>
			<?php echo $editbutton; ?>
			<?php echo $statebutton; ?>
			<?php echo $approvalbutton; ?>
		</p>
		<!-- EOF buttons -->
	<?php endif; ?>
开发者ID:kosmosby,项目名称:medicine-prof,代码行数:30,代码来源:category_items.php

示例2:

' class='btn btn-info' onclick='this.style.display="none"; window.print(); return false;'>
		<?php 
        }
        ?>
		<!-- EOF Print handling -->
		
	<?php 
    } else {
        ?>
	
		<?php 
        $pdfbutton = flexicontent_html::pdfbutton($item, $this->params);
        $mailbutton = flexicontent_html::mailbutton(FLEXI_ITEMVIEW, $this->params, $item->categoryslug, $item->slug, 0, $item);
        $printbutton = flexicontent_html::printbutton($this->print_link, $this->params);
        $editbutton = flexicontent_html::editbutton($item, $this->params);
        $statebutton = flexicontent_html::statebutton($item, $this->params);
        $approvalbutton = flexicontent_html::approvalbutton($item, $this->params);
        ?>
		
		<?php 
        if ($pdfbutton || $mailbutton || $printbutton || $editbutton || $statebutton || $approvalbutton) {
            ?>
		<!-- BOF buttons -->
		<div class="buttons">
			<?php 
            echo $pdfbutton;
            ?>
			<?php 
            echo $mailbutton;
            ?>
			<?php 
开发者ID:jakesyl,项目名称:flexicontent,代码行数:31,代码来源:modular.php

示例3:

        }
        ?>
			</td>
		<?php 
    }
    ?>


			<td class="col_type">
				<?php 
    echo $row->type_name;
    ?>
			</td>
			<td class="col_state">
				<?php 
    echo flexicontent_html::statebutton($row, $row->params, $addToggler = $limit <= $this->inline_ss_max);
    ?>
				<?php 
    if ($extra_img) {
        ?>
					<img src="components/com_flexicontent/assets/images/<?php 
        echo $extra_img;
        ?>
" width="16" height="16" style="border: 0;" class="<?php 
        echo $tip_class;
        ?>
" alt="<?php 
        echo $extra_alt;
        ?>
" title="<?php 
        echo $extra_alt;
开发者ID:nettdotkomm,项目名称:flexicontent-cck,代码行数:31,代码来源:default.php


注:本文中的flexicontent_html::statebutton方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。