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


PHP TbHtml::lead方法代码示例

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


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

示例1: testLead

 public function testLead()
 {
     $I = $this->codeGuy;
     $html = TbHtml::lead('Lead text');
     $p = $I->createNode($html, 'p.lead');
     $I->seeNodeText($p, 'Lead text');
 }
开发者ID:AlexanderGrant1,项目名称:AC41004,代码行数:7,代码来源:TbHtmlTest.php

示例2: array

<link rel="stylesheet" type="text/css"
	href="<?php 
echo Yii::app()->request->baseUrl;
?>
/css/users.css" />
        
<p> <b>Questionnaire - Windows Phone</b></p>


<div class="well">
    	<?php 
$testes_selecionados = array();
?>
		<?php 
echo TbHtml::lead('Characteristics ');
?>
		<?php 
echo TbHtml::small('To improve the quality of testing in  your app, please answer the questions simply check the functionality required by your app.', array('class' => 'help-block'));
?>
		
		<p><?php 
echo TbHtml::b('Connectivity');
?>
</p>
			<?php 
echo TbHtml::checkBoxList('checkConnectivity', '', array('3.1, 3.2' => CHtml::encode('Does your app use Network Connection?')));
?>
		<p><?php 
echo TbHtml::b('Content Interaction');
?>
开发者ID:raphaelrocha,项目名称:mtcontrool_mtcontext,代码行数:30,代码来源:_questWP.php

示例3:

<div class="span9">

<!-- Typography
    ================================================== -->
<section id="typography">

    <div class="page-header">
        <h1>Typography</h1>
    </div>

    <h2>Lead</h2>

    <div class="bs-docs-example">
        <?php 
echo TbHtml::lead('Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Duis mollis, est non commodo luctus.');
?>
    </div>
    <pre class="prettyprint linenums">
&lt;?php echo TbHtml::lead('...'); ?></pre>

    <hr class="bs-docs-separator">

    <h2>Emphasis</h2>

    <h3>Small</h3>

    <div class="bs-docs-example">
        <p><?php 
echo TbHtml::small('This line of text is meant to be treated as fine print.');
?>
开发者ID:crisu83,项目名称:yiistrap-docs,代码行数:30,代码来源:basics.php

示例4: array

<?php 
$this->endWidget();
?>

<p><?php 
echo TbHtml::submitButton('Редагувати анкету', array('submit' => array('/manage/profiles/update', 'id' => $model->id), 'color' => TbHtml::BUTTON_COLOR_PRIMARY));
?>
</p>

<?php 
$this->widget('bootstrap.widgets.TbDetailView', array('type' => 'bordered condensed', 'data' => $model, 'attributes' => array(array('name' => 'status', 'value' => $model->statusTypes[$model->status]), 'first_name', 'last_name', array('name' => 'gender', 'value' => $model->genderTypes[$model->gender]), array('name' => 'birth_date', 'value' => Yii::app()->dateFormatter->formatDateTime($model->birth_date, "long", false) . " (" . $this->getTimeDiff($model->birth_date) . ")"), 'contact_phone', 'email:email', array('name' => 'residenciesIds', 'value' => implode(', ', array_values(CHtml::listData($model->citiesResidence, 'city_index', 'city_name')))), array('name' => 'education', 'value' => $model->educationTypes[$model->education]), 'eduction_info:ntext', 'work_experience:ntext', 'skills:ntext', 'summary:ntext', array('name' => 'categoryIds', 'value' => implode(', ', array_values(CHtml::listData($model->categories, 'id', 'name'))), 'type' => 'html'), 'desired_position', array('name' => 'positionsIds', 'value' => implode(', ', array_values(CHtml::listData($model->positions, 'id', 'name')))), 'salary', array('name' => 'jobLocationsIds', 'value' => implode(', ', array_values(CHtml::listData($model->citiesJobLocations, 'city_index', 'city_name')))), 'documents', array('name' => 'driverLicensesIds', 'value' => implode(', ', array_values(CHtml::listData($model->driverLicensesTypes, 'id', 'name')))), 'applicant_type', 'cv_file:url', array('name' => 'assistanceIds', 'value' => $model->assistances, 'type' => 'html'), array('name' => 'recruiter_id', 'value' => isset($model->recruiter->last_name) ? CHtml::link($model->recruiter->first_name . " " . $model->recruiter->last_name, array('/manage/reqruiter', 'id' => $model->recruiter->id)) : '', 'type' => 'html'), 'recruiter_comments:ntext', 'who_filled', array('name' => 'added_time', 'value' => Yii::app()->dateFormatter->formatDateTime($model->added_time, "long"), 'type' => 'html'))));
?>

<?php 
echo TbHtml::lead('Можливі вакансії:');
?>


<?php 
$this->widget('bootstrap.widgets.TbGridView', ['dataProvider' => $vacanciesDataProvider, 'filter' => null, 'columns' => ['id', 'name', 'city.city_name', ['class' => CDataColumn::class, 'value' => function (Vacancy $object) {
    return $object->company->name;
}, 'header' => Yii::t('main', 'vacancy.label.company')], ['class' => CDataColumn::class, 'value' => function (Vacancy $object) {
    return $object->user->first_name . " " . $object->user->phone;
}, 'header' => Yii::t('main', 'vacancy.label.user')], ['name' => 'close_time', 'value' => function (Vacancy $vacancy) {
    return Yii::app()->dateFormatter->formatDateTime($vacancy->close_time, "long", false);
}], ['class' => CDataColumn::class, 'value' => function (Vacancy $vacancy) {
    return VacancyHelper::statusName($vacancy);
}, 'header' => Yii::t('main', 'vacancy.label.status')], ['class' => CDataColumn::class, 'value' => function (Vacancy $object) {
    return CHtml::link(TbHtml::icon(TbHtml::ICON_EYE_OPEN), ["vacancies/view", 'id' => $object->id]) . ' ' . CHtml::link(TbHtml::icon(TbHtml::ICON_EDIT), ["vacancies/update", 'id' => $object->id]);
}, 'type' => 'raw']]]);
开发者ID:jerichozis,项目名称:portal,代码行数:30,代码来源:view.php

示例5: array

<?php

/* @var $this ProfilesController */
/* @var $model CvList */
?>

<?php 
$this->breadcrumbs = array('Cv Lists' => array('index'), $model->id => array('view', 'id' => $model->id), 'Update');
$this->menu = array(array('label' => 'Список претендентів', 'url' => array('index')));
?>

<?php 
echo TbHtml::lead('Редагувати анкету &laquo;' . $model->first_name . ' ' . $model->last_name . '&raquo;');
$this->renderPartial('_form', array('model' => $model));
开发者ID:asopin,项目名称:portal,代码行数:14,代码来源:update.php

示例6: array

<?php

$form = $this->beginWidget('bootstrap.widgets.TbActiveForm', array('id' => 'client-selected-form', 'enableAjaxValidation' => false, 'layout' => TbHtml::FORM_LAYOUT_INLINE));
?>
 
         <?php 
//echo TbHtml::labelTb(ucwords($customer) . ' - ' . $customer_mobile_no, array('color' => TbHtml::LABEL_COLOR_INFO));
?>

          <?php 
echo TbHtml::lead(ucwords($customer) . ' - ' . $customer_mobile_no);
?>

         <?php 
echo TbHtml::linkButton(Yii::t('app', 'Detach'), array('color' => TbHtml::BUTTON_COLOR_WARNING, 'size' => TbHtml::BUTTON_SIZE_MINI, 'icon' => 'remove white', 'class' => 'detach-customer'));
?>
            
<?php 
$this->endWidget();
开发者ID:noonnightcoder,项目名称:bakou-pos-apsara,代码行数:19,代码来源:_client_selected.php


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