本文整理汇总了PHP中Params::urlKaryawanThumbsDirectory方法的典型用法代码示例。如果您正苦于以下问题:PHP Params::urlKaryawanThumbsDirectory方法的具体用法?PHP Params::urlKaryawanThumbsDirectory怎么用?PHP Params::urlKaryawanThumbsDirectory使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Params
的用法示例。
在下文中一共展示了Params::urlKaryawanThumbsDirectory方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1:
'tglkeluar',
'pphditanggungperusahaan',
'no_fingerprint',
'karyawan_aktif',
),
));*/
?>
<legend><h1><strong>Riwayat karyawan</strong></h1></legend>
<table style="width:100%;margin:0px;" class="mws-table">
<tr>
<td>
<table style="width:100%;margin:0px;" class="mws-table">
<tr>
<td rowspan="7" align="center" width="20%">
<img src="<?php
echo Params::urlKaryawanThumbsDirectory() . $model->photo_karyawan;
?>
" width="250" height=200" >
</td>
</tr>
<tr>
<td width="20%">
<?php
echo CHtml::label($model->getAttributeLabel('jenisidentitas'), $model->getAttributeLabel('jenisidentitas'));
?>
</td>
<td width="30%">
<?php
echo CHtml::label($model->jenisidentitas, $model->jenisidentitas);
?>
示例2: array
<?php
$this->beginWidget('zii.widgets.jui.CJuiDialog', array('id' => 'dialogKaryawan', 'options' => array('title' => 'Data Karyawan', 'autoOpen' => false, 'modal' => true, 'width' => 900, 'height' => 600, 'resizable' => false)));
$modsKaryawan = new KaryawanM();
$modsKaryawan->unsetAttributes();
if (isset($_GET['KaryawanM'])) {
$modsKaryawan->attributes = $_GET['KaryawanM'];
}
$this->widget('zii.widgets.grid.CGridView', array('id' => 'pengeluran-grid', 'dataProvider' => $modsKaryawan->search(), 'filter' => $modsKaryawan, 'template' => "{pager}{summary}\n{items}", 'columns' => array(array('header' => 'Pilih', 'type' => 'raw', 'value' => 'CHtml::Link("<i class=\\"mws-ic-16 ic-accept\\"></i>","",
array(
"class"=>"mws-ic-16 ic-accept",
"id" => "selectKaryawan",
"href"=>"",
"onClick" => "
\\$(\\"#' . CHtml::activeId($model, 'no_fingerprint') . '\\").val(\\"$data->no_fingerprint\\");
\\$(\\"#' . CHtml::activeId($modKaryawan, 'nomorindukkaryawan') . '\\").val(\\"$data->nomorindukkaryawan\\");
\\$(\\"#' . CHtml::activeId($modKaryawan, 'gelardepan') . '\\").val(\\"$data->gelardepan\\");
\\$(\\"#' . CHtml::activeId($modKaryawan, 'nama_karyawan') . '\\").val(\\"$data->nama_karyawan\\");
\\$(\\"#' . CHtml::activeId($modKaryawan, 'gelarbelakang') . '\\").val(\\"$data->gelarbelakang\\");
\\$(\\"#' . CHtml::activeId($modKaryawan, 'jeniskelamin') . '\\").val(\\"$data->jeniskelamin\\");
\\$(\\"#' . CHtml::activeId($modKaryawan, 'tempatlahir_karyawan') . '\\").val(\\"$data->tempatlahir_karyawan\\");
\\$(\\"#' . CHtml::activeId($modKaryawan, 'tgllahir_karyawan') . '\\").val(\\"$data->tgllahir_karyawan\\");
\\$(\\"#' . CHtml::activeId($modKaryawan, 'statusperkawinan') . '\\").val(\\"$data->statusperkawinan\\");
\\$(\\"#' . CHtml::activeId($modKaryawan, 'nomobile_karyawan') . '\\").val(\\"$data->nomobile_karyawan\\");
\\$(\\"#' . CHtml::activeId($modKaryawan, 'notelp_karyawan') . '\\").val(\\"$data->notelp_karyawan\\");
\\$(\\"#' . CHtml::activeId($modKaryawan, 'agama') . '\\").val(\\"$data->agama\\");
\\$(\\"#' . CHtml::activeId($model, 'karyawan_id') . '\\").val(\\"$data->karyawan_id\\");
\\$(\\"#photo_karyawan\\").attr(\\"src\\", \\"' . Params::urlKaryawanThumbsDirectory() . 'kecil_$data->photo_karyawan\\");
\\$(\\"#dialogKaryawan\\").dialog(\\"close\\");return false;"
))'), array('header' => 'NIP', 'name' => 'no_fingerprint'), array('name' => 'nama_karyawan'), array('header' => 'Jenis Kelamin', 'name' => 'jeniskelamin')), 'afterAjaxUpdate' => 'function(id, data){jQuery(\'' . Params::TOOLTIP_SELECTOR . '\').tooltip({"placement":"' . Params::TOOLTIP_PLACEMENT . '"});}'));
$this->endWidget();