本文整理汇总了PHP中GxHtml::valueEx方法的典型用法代码示例。如果您正苦于以下问题:PHP GxHtml::valueEx方法的具体用法?PHP GxHtml::valueEx怎么用?PHP GxHtml::valueEx使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类GxHtml
的用法示例。
在下文中一共展示了GxHtml::valueEx方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: array
<?php
$this->breadcrumbs = array($model->label(2) => array('index'), GxHtml::valueEx($model));
$this->menu = array(array('label' => Yii::t('app', 'Listar') . ' ' . $model->label(2), 'url' => array('index')), array('label' => Yii::t('app', 'Agregar') . ' ' . $model->label(), 'url' => array('create')), array('label' => Yii::t('app', 'Editar') . ' ' . $model->label(), 'url' => array('update', 'id' => $model->id)), array('label' => Yii::t('app', 'Borrar') . ' ' . $model->label(), 'url' => '#', 'linkOptions' => array('submit' => array('delete', 'id' => $model->id), 'confirm' => 'Are you sure you want to delete this item?')), array('label' => Yii::t('app', 'Administrar') . ' ' . $model->label(2), 'url' => array('admin')));
?>
<h1><?php
echo GxHtml::encode($model->label()) . ' ' . GxHtml::encode(GxHtml::valueEx($model));
?>
</h1>
<?php
$this->widget('zii.widgets.CDetailView', array('data' => $model, 'attributes' => array('nombre', array('name' => 'idAreaEmpresa', 'type' => 'raw', 'value' => $model->idAreaEmpresa !== null ? GxHtml::link(GxHtml::encode(GxHtml::valueEx($model->idAreaEmpresa)), array('areasEmpresa/view', 'id' => GxActiveRecord::extractPkValue($model->idAreaEmpresa, true))) : null))));
示例2:
<br />
<?php
echo GxHtml::encode($data->getAttributeLabel('code'));
?>
:
<?php
echo GxHtml::encode($data->code);
?>
<br />
<?php
echo GxHtml::encode($data->getAttributeLabel('action'));
?>
:
<?php
echo GxHtml::encode(GxHtml::valueEx($data->action0));
?>
<br />
<?php
echo GxHtml::encode($data->getAttributeLabel('action_date'));
?>
:
<?php
echo GxHtml::encode($data->action_date);
?>
<br />
<?php
echo GxHtml::encode($data->getAttributeLabel('deleted_at'));
?>
:
<?php
示例3: array
<?php
$this->breadcrumbs = array($model->label(2) => array('index'), GxHtml::valueEx($model) => array('view', 'id' => GxActiveRecord::extractPkValue($model, true)), Yii::t('app', 'Update'));
$this->menu = array(array('label' => Yii::t('app', 'Manage') . ' ' . IguCompanytype::label(2), 'url' => array('admin')));
$this->beginWidget('zii.widgets.CPortlet', array('htmlOptions' => array('class' => '')));
$this->widget('bootstrap.widgets.TbMenu', array('type' => 'pills', 'items' => array(array('label' => 'Create', 'icon' => 'icon-plus', 'url' => Yii::app()->controller->createUrl('create'), 'linkOptions' => array()), array('label' => 'List', 'icon' => 'icon-th-list', 'url' => Yii::app()->controller->createUrl('index'), 'linkOptions' => array()), array('label' => 'Manage', 'icon' => 'icon-search', 'url' => Yii::app()->controller->createUrl('admin'), 'linkOptions' => array('class' => 'search-button')), array('label' => 'Export to PDF', 'icon' => 'icon-download', 'url' => Yii::app()->controller->createUrl('GeneratePdf'), 'linkOptions' => array('target' => '_blank'), 'visible' => true), array('label' => 'Export to Excel', 'icon' => 'icon-download', 'url' => Yii::app()->controller->createUrl('GenerateExcel'), 'linkOptions' => array('target' => '_blank'), 'visible' => true))));
$this->endWidget();
?>
<h3><?php
echo Yii::t('app', 'Update') . ' ' . GxHtml::encode($model->label()) . ' ' . GxHtml::encode(GxHtml::valueEx($model));
?>
</h3>
<?php
$this->renderPartial('_form', array('model' => $model));
示例4: array
echo GxHtml::openTag('li');
echo GxHtml::link(GxHtml::encode(GxHtml::valueEx($relatedModel)), array('actor/view', 'id' => GxActiveRecord::extractPkValue($relatedModel, true)));
echo GxHtml::closeTag('li');
}
echo GxHtml::closeTag('ul');
?>
<h2><?php
echo GxHtml::encode($model->getRelationLabel('categories'));
?>
</h2>
<?php
echo GxHtml::openTag('ul');
foreach ($model->categories as $relatedModel) {
echo GxHtml::openTag('li');
echo GxHtml::link(GxHtml::encode(GxHtml::valueEx($relatedModel)), array('category/view', 'id' => GxActiveRecord::extractPkValue($relatedModel, true)));
echo GxHtml::closeTag('li');
}
echo GxHtml::closeTag('ul');
?>
<h2><?php
echo GxHtml::encode($model->getRelationLabel('inventories'));
?>
</h2>
<?php
echo GxHtml::openTag('ul');
foreach ($model->inventories as $relatedModel) {
echo GxHtml::openTag('li');
echo GxHtml::link(GxHtml::encode(GxHtml::valueEx($relatedModel)), array('inventory/view', 'id' => GxActiveRecord::extractPkValue($relatedModel, true)));
echo GxHtml::closeTag('li');
}
echo GxHtml::closeTag('ul');
示例5: array
<?php
echo GxHtml::encode($data->getAttributeLabel('id'));
?>
:
<?php
echo GxHtml::link(GxHtml::encode($data->id), array('view', 'id' => $data->id));
?>
<br />
<?php
echo GxHtml::encode($data->getAttributeLabel('idclient'));
?>
:
<?php
echo GxHtml::encode(GxHtml::valueEx($data->idclient0));
?>
<br />
<?php
echo GxHtml::encode($data->getAttributeLabel('datepaiement'));
?>
:
<?php
echo GxHtml::encode($data->datepaiement);
?>
<br />
<?php
echo GxHtml::encode($data->getAttributeLabel('vouchernumber'));
?>
:
<?php
示例6:
<br/>
<?php
echo GxHtml::encode($data->getAttributeLabel('name'));
?>
:
<?php
echo GxHtml::encode($data->name);
?>
<br/>
<?php
echo GxHtml::encode($data->getAttributeLabel('class_id'));
?>
:
<?php
echo GxHtml::encode(GxHtml::valueEx($data->class));
?>
<br/>
<?php
echo GxHtml::encode($data->getAttributeLabel('parent'));
?>
:
<?php
echo GxHtml::encode($data->parent);
?>
<br/>
<?php
echo GxHtml::encode($data->getAttributeLabel('inactive'));
?>
:
<?php
示例7: array
<?php
$this->breadcrumbs = array($model->label(2) => array('index'), GxHtml::valueEx($model) => array('view', 'id' => GxActiveRecord::extractPkValue($model, true)), Yii::t('app', 'Editar'));
$this->menu = array(array('label' => Yii::t('app', 'Listar') . ' ' . $model->label(2), 'url' => array('index')), array('label' => Yii::t('app', 'Agregar') . ' ' . $model->label(), 'url' => array('create')), array('label' => Yii::t('app', 'Ver') . ' ' . $model->label(), 'url' => array('view', 'id' => GxActiveRecord::extractPkValue($model, true))), array('label' => Yii::t('app', 'Administrar') . ' ' . $model->label(2), 'url' => array('admin')));
?>
<h1><?php
echo Yii::t('app', 'Editar') . ' ' . GxHtml::encode($model->label()) . ' Patente N°: ' . '<font color="yellow">' . OrdenTrabajo::formatearPatente(GxHtml::encode(GxHtml::valueEx($model))) . '</font>';
?>
</h1>
<?php
$this->renderPartial('_form', array('model' => $model));
示例8:
?>
<br />
<?php
echo GxHtml::encode($data->getAttributeLabel('fecha'));
?>
:
<?php
echo GxHtml::encode($data->fecha);
?>
<br />
<?php
echo GxHtml::encode($data->getAttributeLabel('id_combustible'));
?>
:
<?php
echo GxHtml::encode(GxHtml::valueEx($data->idCombustible));
?>
<br />
<?php
echo GxHtml::encode($data->getAttributeLabel('neto'));
?>
:
<?php
echo GxHtml::encode($data->neto);
?>
<br />
<?php
echo GxHtml::encode($data->getAttributeLabel('iva'));
?>
:
<?php
示例9: array
<?php
echo GxHtml::link(GxHtml::encode($data->store_id), array('view', 'id' => $data->store_id));
?>
<br />
<?php
echo GxHtml::encode($data->getAttributeLabel('managerStaff'));
?>
:
<?php
echo GxHtml::encode(GxHtml::valueEx($data->managerStaff));
?>
<br />
<?php
echo GxHtml::encode($data->getAttributeLabel('address'));
?>
:
<?php
echo GxHtml::encode(GxHtml::valueEx($data->address));
?>
<br />
<?php
echo GxHtml::encode($data->getAttributeLabel('last_update'));
?>
:
<?php
echo GxHtml::encode($data->last_update);
?>
<br />
</div>
示例10: array
"
title="image_<?php
echo $model->id;
?>
"/>
</div>
<div class="info_wrapper">
<h1><?php
echo Yii::t('app', 'View') . ' ' . GxHtml::encode($model->label()) . ' ' . GxHtml::encode(GxHtml::valueEx($model));
?>
</h1>
<?php
$this->widget('zii.widgets.CDetailView', array('data' => $model, 'attributes' => array('id', 'name', 'description', 'letter', 'assignmentid')));
?>
<h2><?php
echo GxHtml::encode($model->getRelationLabel('assignments'));
?>
</h2>
<?php
echo GxHtml::openTag('ul');
foreach ($model->assignments as $relatedModel) {
echo GxHtml::openTag('li');
echo GxHtml::encode(GxHtml::valueEx($relatedModel));
echo GxHtml::closeTag('li');
}
echo GxHtml::closeTag('ul');
?>
</div>
</div>
示例11: array
<?php
$this->breadcrumbs = array('Pe Donaturs' => array('index'), GxHtml::valueEx($model));
$this->menu = array(array('label' => Yii::t('app', 'List') . ' PeDonatur', 'url' => array('index')), array('label' => Yii::t('app', 'Create') . ' PeDonatur', 'url' => array('create')), array('label' => Yii::t('app', 'Update') . ' PeDonatur', 'url' => array('update', 'id' => $model->id)), array('label' => Yii::t('app', 'Delete') . ' PeDonatur', 'url' => '#', 'linkOptions' => array('submit' => array('delete', 'id' => $model->id), 'confirm' => 'Are you sure you want to delete this item?')));
?>
<h1><?php
echo Yii::t('app', 'View');
?>
PeDonatur #<?php
echo GxHtml::encode(GxHtml::valueEx($model));
?>
</h1>
<?php
$this->widget('zii.widgets.CDetailView', array('data' => $model, 'attributes' => array('id', 'name', 'phone', 'alamat', 'inactive', array('label' => 'PeChartMaster', 'type' => 'raw', 'value' => GxHtml::link(GxHtml::encode(GxHtml::valueEx($model->accountCode)), array('peChartMaster/view', 'id' => GxActiveRecord::extractPkValue($model->accountCode, true))))), 'itemTemplate' => "<tr class=\"{class}\"><td style=\"width: 120px\"><b>{label}</b></td><td>{value}</td></tr>\n", 'htmlOptions' => array('class' => 'table')));
?>
<!--h2>Pe Kas Masuks</h2-->
<?php
/*
echo GxHtml::openTag('ul');
foreach($model->peKasMasuks as $relatedModel) {
echo GxHtml::openTag('li');
echo GxHtml::link(GxHtml::encode(GxHtml::valueEx($relatedModel)), array('peKasMasuk/view', 'id' => GxActiveRecord::extractPkValue($relatedModel, true)));
echo GxHtml::closeTag('li');
}
echo GxHtml::closeTag('ul');*/
示例12:
<br />
<?php
echo GxHtml::encode($data->getAttributeLabel('idagent'));
?>
:
<?php
echo GxHtml::encode(GxHtml::valueEx($data->idagent0));
?>
<br />
<?php
echo GxHtml::encode($data->getAttributeLabel('idvoucher'));
?>
:
<?php
echo GxHtml::encode(GxHtml::valueEx($data->idvoucher0));
?>
<br />
<?php
echo GxHtml::encode($data->getAttributeLabel('useddate'));
?>
:
<?php
echo GxHtml::encode($data->useddate);
?>
<br />
<?php
echo GxHtml::encode($data->getAttributeLabel('givendate'));
?>
:
<?php
示例13: array
<?php
$this->breadcrumbs = array($model->label(2) => array('index'), GxHtml::valueEx($model));
$this->menu = array(array('label' => Yii::t('app', 'List') . ' ' . $model->label(2), 'url' => array('index')), array('label' => Yii::t('app', 'Create') . ' ' . $model->label(), 'url' => array('create')), array('label' => Yii::t('app', 'Update') . ' ' . $model->label(), 'url' => array('update', 'id' => $model->id)), array('label' => Yii::t('app', 'Delete') . ' ' . $model->label(), 'url' => '#', 'linkOptions' => array('submit' => array('delete', 'id' => $model->id), 'confirm' => 'Are you sure you want to delete this item?')), array('label' => Yii::t('app', 'Manage') . ' ' . $model->label(2), 'url' => array('admin')));
?>
<h1><?php
echo Yii::t('app', 'View') . ' ' . GxHtml::encode($model->label()) . ' ' . GxHtml::encode(GxHtml::valueEx($model));
?>
</h1>
<?php
$this->widget('zii.widgets.CDetailView', array('data' => $model, 'attributes' => array('id', 'name', 'description', 'create_date', 'valid', 'security_level', 'family:boolean', 'deleted_at')));
?>
<h2><?php
echo GxHtml::encode($model->getRelationLabel('beneficiaryAttributes'));
?>
</h2>
<?php
echo GxHtml::openTag('ul');
foreach ($model->beneficiaryAttributes as $relatedModel) {
echo GxHtml::openTag('li');
echo GxHtml::link(GxHtml::encode(GxHtml::valueEx($relatedModel)), array('beneficiaryAttribute/view', 'id' => GxActiveRecord::extractPkValue($relatedModel, true)));
echo GxHtml::closeTag('li');
}
echo GxHtml::closeTag('ul');
示例14: array
<?php
$this->breadcrumbs = array($model->label(2) => array('index'), GxHtml::valueEx($model));
$this->menu = array(array('label' => Yii::t('app', 'List') . ' ' . $model->label(2), 'url' => array('index')), array('label' => Yii::t('app', 'Create') . ' ' . $model->label(), 'url' => array('create')), array('label' => Yii::t('app', 'Update') . ' ' . $model->label(), 'url' => array('update', 'id' => $model->id)), array('label' => Yii::t('app', 'Delete') . ' ' . $model->label(), 'url' => '#', 'linkOptions' => array('submit' => array('delete', 'id' => $model->id), 'confirm' => 'Are you sure you want to delete this item?')), array('label' => Yii::t('app', 'Manage') . ' ' . $model->label(2), 'url' => array('admin')));
?>
<h1><?php
echo Yii::t('app', 'View') . ' ' . GxHtml::encode($model->label()) . ' ' . GxHtml::encode(GxHtml::valueEx($model));
?>
</h1>
<?php
$this->widget('zii.widgets.CDetailView', array('data' => $model, 'attributes' => array('id', array('name' => 'idclient0', 'type' => 'raw', 'value' => $model->idclient0 !== null ? GxHtml::link(GxHtml::encode(GxHtml::valueEx($model->idclient0)), array('iguRegistration/view', 'id' => GxActiveRecord::extractPkValue($model->idclient0, true))) : null), 'idproduct', 'cashinvested', 'cashprofit', 'year')));
?>
示例15: array
<?php
$this->breadcrumbs = array($model->label(2) => array('index'), GxHtml::valueEx($model));
$this->menu = array(array('label' => Yii::t('app', 'List') . ' ' . $model->label(2), 'url' => array('index')), array('label' => Yii::t('app', 'Create') . ' ' . $model->label(), 'url' => array('create')), array('label' => Yii::t('app', 'Update') . ' ' . $model->label(), 'url' => array('update', 'id' => $model->id)), array('label' => Yii::t('app', 'Delete') . ' ' . $model->label(), 'url' => '#', 'linkOptions' => array('submit' => array('delete', 'id' => $model->id), 'confirm' => 'Are you sure you want to delete this item?')), array('label' => Yii::t('app', 'Manage') . ' ' . $model->label(2), 'url' => array('admin')));
?>
<h1><?php
echo Yii::t('app', 'View') . ' ' . GxHtml::encode($model->label()) . ' ' . GxHtml::encode(GxHtml::valueEx($model));
?>
</h1>
<?php
$this->widget('zii.widgets.CDetailView', array('data' => $model, 'attributes' => array('id', array('name' => 'cupo', 'type' => 'raw', 'value' => $model->cupo !== null ? GxHtml::link(GxHtml::encode(GxHtml::valueEx($model->cupo)), array('cupo/view', 'id' => GxActiveRecord::extractPkValue($model->cupo, true))) : null), array('name' => 'user', 'type' => 'raw', 'value' => $model->user !== null ? GxHtml::link(GxHtml::encode(GxHtml::valueEx($model->user)), array('user/view', 'id' => GxActiveRecord::extractPkValue($model->user, true))) : null), array('name' => 'recarga', 'type' => 'raw', 'value' => $model->recarga !== null ? GxHtml::link(GxHtml::encode(GxHtml::valueEx($model->recarga)), array('recarga/view', 'id' => GxActiveRecord::extractPkValue($model->recarga, true))) : null), 'fecha', 'comentario', 'estado')));