本文整理匯總了PHP中X2Html::clearfix方法的典型用法代碼示例。如果您正苦於以下問題:PHP X2Html::clearfix方法的具體用法?PHP X2Html::clearfix怎麽用?PHP X2Html::clearfix使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類X2Html
的用法示例。
在下文中一共展示了X2Html::clearfix方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: array
?>
<br><br>
<?php
echo $form->label($model, 'disableAutomaticRecordTagging', array('class' => 'left-label'));
echo X2Html::hint2(Yii::t('admin', 'Enabling action backdating will allow any user to change the automatically set date fields (i.e. create date). While this setting is off, only those with Admin access to the Actions module will be allowed to backdate actions.'));
echo X2Html::clearfix();
echo $form->checkBox($model, 'disableAutomaticRecordTagging');
?>
</div>
<div class="form">
<label class='left-label' for="Admin_historyPrivacy"><?php
echo Yii::t('admin', 'Event/Action History Privacy');
?>
</label><?php
echo X2Html::hint2(Yii::t('admin', 'Default will allow users to see actions/events which are public or assigned to them. User Only will allow users to only see actions/events assigned to them. Group Only will allow users to see actions/events assigned to members of their groups.'));
echo X2Html::clearfix();
echo $form->dropDownList($model, 'historyPrivacy', array('default' => Yii::t('admin', 'Default'), 'user' => Yii::t('admin', 'User Only'), 'group' => Yii::t('admin', 'Group Only')));
?>
<br><br>
<?php
echo Yii::t('admin', 'Choose a privacy setting for the Action History widget and Activity Feed. Please note that any user with Admin level access to the module that the History is on will ignore this setting. Only users with full Admin access will ignore this setting on the Activity Feed.');
?>
</div>
<div class="form">
<?php
echo $form->labelEx($model, 'properCaseNames');
?>
<?php
echo Yii::t('admin', 'Attempt to format Contact names to have proper case?');
?>
<br>