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


PHP X2Html::loadingIcon方法代码示例

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


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

示例1: renderItems

 /**
  * Renders the data items for the grid view.
  */
 public function renderItems()
 {
     if ($this->dataProvider->getItemCount() > 0 || $this->showTableOnEmpty) {
         $pagerDisplayed = $this->dataProvider->getPagination()->getPageCount() > 1;
         if ($this->fixedHeader) {
             echo '</div>';
         }
         $this->renderContentBeforeHeader();
         echo '<div class="x2grid-header-container">';
         echo '<table class="', $this->itemsCssClass, '"' . ($this->showHeader || !$this->hideFullHeader ? '' : "style='display: none;'") . '>';
         $this->renderTableHeader();
         echo '</table></div>';
         if ($this->fixedHeader) {
             echo '</div></div>';
         }
         echo '<div class="x2grid-body-container' . (!$pagerDisplayed ? ' x2grid-no-pager' : '') . '"><table class="' . $this->itemsCssClass . ($this->fixedHeader ? ' x2-gridview-body-with-fixed-header' : '') . "\">\n";
         ob_start();
         $this->renderTableBody();
         $body = ob_get_clean();
         $this->renderTableFooter();
         echo $body;
         // TFOOT must appear before TBODY according to the standard.
         echo '</table>';
         echo '</div>';
     } else {
         $this->renderEmptyText();
     }
     echo X2Html::loadingIcon(array('class' => 'x2-gridview-updating-anim', 'style' => 'display: none'));
 }
开发者ID:dsyman2,项目名称:X2CRM,代码行数:32,代码来源:X2GridViewBase.php

示例2: array

            </li>
        </ul>
        <?php 
}
?>
        <?php 
//        echo X2Html::fa ('fa-expand', array (
//            'class' => 'email-fullscreen-button x2-icon-button fa-lg x2-hide',
//        ));
echo X2Html::fa('fa-level-down', array('class' => 'email-reattach-button x2-icon-button fa-lg x2-hide', 'style' => 'visibility: hidden;', 'title' => CHtml::encode(Yii::t('app', 'Reattach email form'))));
?>
    </div>
    <?php 
$formConfig = array('enableAjaxValidation' => false, 'method' => 'post');
$form = $this->beginWidget('CActiveForm', $formConfig);
echo X2Html::loadingIcon(array('id' => 'email-sending-icon', 'style' => 'display: none'));
echo $this->specialFields;
echo $form->hiddenField($this->model, 'modelId');
echo CHtml::hiddenField('associationType', $associationType);
echo $form->hiddenField($this->model, 'modelName');
echo CHtml::hiddenField('contactFlag', $this->contactFlag);
?>
    <div class='email-inputs form'>
        <div class="row">
            <div id="inline-email-errors" class="error" style="display:none"></div>
            <?php 
echo $form->errorSummary($this->model, Yii::t('app', "Please fix the following errors:"), null);
?>
        </div>
        <div class="row email-input-row credId-row" 
         <?php 
开发者ID:dsyman2,项目名称:X2CRM,代码行数:31,代码来源:inlineEmailForm.php


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