本文整理汇总了PHP中app\func\Proc::Breadcrumbs方法的典型用法代码示例。如果您正苦于以下问题:PHP Proc::Breadcrumbs方法的具体用法?PHP Proc::Breadcrumbs怎么用?PHP Proc::Breadcrumbs使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类app\func\Proc
的用法示例。
在下文中一共展示了Proc::Breadcrumbs方法的10个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: isset
<?php
use yii\helpers\Html;
use kartik\dynagrid\DynaGrid;
use app\func\Proc;
use yii\helpers\Url;
/* @var $this yii\web\View */
/* @var $searchModel app\models\Fregat\TrMatSearch */
/* @var $dataProvider yii\data\ActiveDataProvider */
$this->title = 'Установленные комплектующие';
$this->params['breadcrumbs'] = Proc::Breadcrumbs($this);
?>
<div class="tr-mat-index">
<?php
$result = Proc::GetLastBreadcrumbsFromSession();
$foreign = isset($result['dopparams']['foreign']) ? $result['dopparams']['foreign'] : '';
echo DynaGrid::widget(Proc::DGopts(['options' => ['id' => 'trmatgrid'], 'columns' => Proc::DGcols(['columns' => ['idMattraffic.idMaterial.material_name', 'idMattraffic.idMaterial.material_inv', 'idMattraffic.mattraffic_number', ['attribute' => 'idParent.idMaterial.material_name', 'label' => 'Укомплекторано в мат-ую цен-ть'], ['attribute' => 'idParent.idMaterial.material_inv', 'label' => 'Инвентарный номер мат-ой цен-ти, в которую укомплектован материал'], ['attribute' => 'idParent.idMol.idbuild.build_name', 'label' => 'Здание, где установлено'], ['attribute' => 'idParent.trOsnovs.tr_osnov_kab', 'label' => 'Кабинет, где установлено', 'value' => function ($model) {
return $model->idParent->trOsnovs[0]->tr_osnov_kab;
}], ['attribute' => 'idMattraffic.idMol.idperson.auth_user_fullname', 'label' => 'ФИО материально-ответственного лица'], ['attribute' => 'idMattraffic.idMol.iddolzh.dolzh_name', 'label' => 'Должность материально-ответственного лица']], 'buttons' => array_merge(empty($foreign) ? [] : ['chooseajax' => ['Fregat/tr-mat/assign-to-grid']])]), 'gridOptions' => ['dataProvider' => $dataProvider, 'filterModel' => $searchModel, 'panel' => ['heading' => '<i class="glyphicon glyphicon-align-paste"></i> ' . $this->title]]]));
?>
</div>
示例2:
<?php
use yii\helpers\Html;
use app\func\Proc;
/* @var $this yii\web\View */
/* @var $model app\models\Fregat\Recoverysendakt */
$this->title = 'Добавить акт восстановления материальных ценностей';
$this->params['breadcrumbs'] = Proc::Breadcrumbs($this, ['model' => $model]);
?>
<div class="recoverysendakt-create">
<div class="panel panel-<?php
echo Yii::$app->params['panelStyle'];
?>
">
<div class="panel-heading base-heading"><?php
echo Html::encode($this->title);
?>
</div>
<div class="panel-body">
<?php
echo $this->render('_form', ['model' => $model]);
?>
</div>
</div>
</div>
示例3:
<?php
use yii\web\View;
if ($patienttype === 'glauk') {
\Yii::$app->getView()->registerJsFile(Yii::$app->request->baseUrl . '/js/glaukpatient.js');
}
use yii\helpers\Html;
use app\func\Proc;
/* @var $this yii\web\View */
/* @var $model app\models\Base\Patient */
$this->title = 'Создать нового пациента';
$this->params['breadcrumbs'] = Proc::Breadcrumbs($this, ['model' => array_merge([$model, $Fias], $patienttype === 'glauk' ? [$dopparams['Glaukuchet']] : [])]);
?>
<div class="patient-create">
<div class="panel panel-<?php
echo Yii::$app->params['panelStyle'];
?>
">
<div class="panel-heading base-heading"><?php
echo Html::encode($this->title);
?>
</div>
<div class="panel-body">
<?php
echo $this->render('_form', array_merge(['model' => $model, 'Fias' => $Fias, 'patienttype' => $patienttype], ['dopparams' => $dopparams]));
?>
</div>
</div>
</div>
示例4:
<?php
use yii\helpers\Html;
use app\func\Proc;
/* @var $this yii\web\View */
/* @var $model app\models\Fregat\Importemployee */
$this->title = 'Обновить словосочетание';
$this->params['breadcrumbs'] = Proc::Breadcrumbs($this, ['model' => [$model, $Impemployee]]);
?>
<div class="importemployee-update">
<div class="panel panel-<?php
echo Yii::$app->params['panelStyle'];
?>
">
<div class="panel-heading base-heading"><?php
echo Html::encode($this->title);
?>
</div>
<div class="panel-body">
<?php
echo $this->render('_form', ['model' => $model, 'searchModel' => $searchModel, 'dataProvider' => $dataProvider]);
?>
</div>
</div>
</div>
示例5: Dolzh
<?php
\Yii::$app->getView()->registerJsFile('js/replacematerial.js');
use yii\helpers\Html;
use app\func\Proc;
use app\models\Fregat\Dolzh;
use app\models\Config\Authuser;
use app\models\Fregat\Podraz;
use app\models\Fregat\Build;
/* @var $this yii\web\View */
/* @var $model app\models\Fregat\TrOsnov */
$this->title = 'Добавить перемещаемую материальную ценность';
$this->params['breadcrumbs'] = Proc::Breadcrumbs($this, ['model' => [$model, $Mattraffic, $Material, $Employee, new Dolzh(), new Podraz(), new Authuser(), new Build()]]);
?>
<div class="tr-osnov-create">
<div class="panel panel-<?php
echo Yii::$app->params['panelStyle'];
?>
">
<div class="panel-heading base-heading"><?php
echo Html::encode($this->title);
?>
</div>
<div class="panel-body">
<?php
echo $this->render('_form', ['model' => $model, 'Mattraffic' => $Mattraffic, 'Material' => $Material, 'Employee' => $Employee, 'mattraffic_number_max' => $mattraffic_number_max]);
?>
</div>
</div>
</div>
示例6:
<?php
\Yii::$app->getView()->registerJsFile('js/freewall.js');
\Yii::$app->getView()->registerJsFile('js/fregatmainmenu.js');
use yii\helpers\Html;
use app\func\Proc;
use yii\helpers\Url;
$this->title = 'Настройки';
$this->params['breadcrumbs'] = Proc::Breadcrumbs($this, ['addfirst' => ['label' => 'Фрегат', 'url' => Url::toRoute('Fregat/fregat/mainmenu')], 'clearbefore' => true]);
?>
<div class="panel panel-<?php
echo Yii::$app->params['panelStyle'];
?>
menuplitka">
<div class="panel-heading">Настройки системы "Фрегат"</div>
<div class="panel-body">
<div class="menublock">
<?php
if (Yii::$app->user->can('FregatImport')) {
?>
<div class="menubutton menubutton_activeanim mb_yellow" id="mb_fregatimport">
<span class="hoverspan"></span>
<div class="menubutton_cn">Импорт данных</div>
<i class="glyphicon glyphicon-import"></i>
</div>
<?php
}
?>
<?php
if (Yii::$app->user->can('FregatUserPermission')) {
示例7: Authassignment
<?php
use yii\helpers\Html;
use app\func\Proc;
use app\models\Config\Authassignment;
$this->title = 'Обновить пользователя';
$this->params['breadcrumbs'] = Proc::Breadcrumbs($this, ['model' => [$model, new Authassignment()]]);
?>
<div class="authuser-update">
<div class="panel panel-<?php
echo Yii::$app->params['panelStyle'];
?>
">
<div class="panel-heading base-heading"><?php
echo Html::encode($this->title);
?>
</div>
<div class="panel-body">
<?php
echo $this->render('_form', ['model' => $model, 'emp' => $emp, 'searchModel' => $searchModel, 'dataProvider' => $dataProvider, 'searchModelEmp' => $searchModelEmp, 'dataProviderEmp' => $dataProviderEmp, 'EmployeeSpecEdit' => $EmployeeSpecEdit]);
?>
</div>
</div>
</div>
示例8: function
<?php
\Yii::$app->getView()->registerJsFile(Yii::$app->request->baseUrl . '/js/patientglaukfilter.js');
use yii\helpers\Html;
use kartik\dynagrid\DynaGrid;
use app\func\Proc;
use yii\helpers\Url;
use app\models\Base\Patient;
use app\models\Glauk\Glaukuchet;
/* @var $this yii\web\View */
/* @var $searchModel app\models\Patient\GlaukPatientSearch */
/* @var $dataProvider yii\data\ActiveDataProvider */
$this->title = 'Пациенты';
$this->params['breadcrumbs'] = Proc::Breadcrumbs($this, ['addfirst' => ['label' => 'Регистр глаукомных пациентов', 'url' => Url::toRoute('Base/patient/glaukindex')], 'clearbefore' => true]);
?>
<div class="patient-glaukindex">
<?php
$patient_pol = Patient::VariablesValues('patient_pol');
$glaukuchet_detect = Glaukuchet::VariablesValues('glaukuchet_detect');
$glaukuchet_deregreason = Glaukuchet::VariablesValues('glaukuchet_deregreason');
$glaukuchet_stage = Glaukuchet::VariablesValues('glaukuchet_stage');
$glaukuchet_invalid = Glaukuchet::VariablesValues('glaukuchet_invalid');
echo DynaGrid::widget(Proc::DGopts(['options' => ['id' => 'patientglaukgrid'], 'columns' => Proc::DGcols(['buttonsfirst' => true, 'columns' => ['patient_fam', 'patient_im', 'patient_ot', ['attribute' => 'patient_dr', 'format' => 'date'], ['attribute' => 'patient_pol', 'filter' => $patient_pol, 'value' => function ($model) use($patient_pol) {
return isset($patient_pol[$model->patient_pol]) ? $patient_pol[$model->patient_pol] : '';
}, 'visible' => false], ['attribute' => 'idFias.fias_city', 'visible' => false], ['attribute' => 'idFias.fias_street', 'visible' => false], ['attribute' => 'patient_dom', 'visible' => false], ['attribute' => 'patient_korp', 'visible' => false], ['attribute' => 'patient_kvartira', 'visible' => false], ['attribute' => 'glaukuchets.glaukuchet_uchetbegin', 'format' => 'date', 'visible' => false], ['attribute' => 'glaukuchets.glaukuchet_detect', 'filter' => $glaukuchet_detect, 'value' => function ($model) use($glaukuchet_detect) {
return isset($glaukuchet_detect[$model->glaukuchets->glaukuchet_detect]) ? $glaukuchet_detect[$model->glaukuchets->glaukuchet_detect] : '';
}, 'visible' => false], ['attribute' => 'glaukuchets.glaukuchet_deregdate', 'format' => 'date', 'visible' => false], ['attribute' => 'glaukuchets.glaukuchet_deregreason', 'filter' => $glaukuchet_deregreason, 'value' => function ($model) use($glaukuchet_deregreason) {
return isset($glaukuchet_deregreason[$model->glaukuchets->glaukuchet_deregreason]) ? $glaukuchet_deregreason[$model->glaukuchets->glaukuchet_deregreason] : '';
}, 'visible' => false], ['attribute' => 'glaukuchets.glaukuchet_stage', 'filter' => $glaukuchet_stage, 'value' => function ($model) use($glaukuchet_stage) {
return isset($glaukuchet_stage[$model->glaukuchets->glaukuchet_stage]) ? $glaukuchet_stage[$model->glaukuchets->glaukuchet_stage] : '';
}, 'visible' => false], ['attribute' => 'glaukuchets.glaukuchet_operdate', 'format' => 'date', 'visible' => false], ['attribute' => 'glaukuchets.glaukuchet_invalid', 'filter' => $glaukuchet_invalid, 'value' => function ($model) use($glaukuchet_invalid) {
示例9:
<?php
use yii\helpers\Html;
use app\func\Proc;
$this->title = 'Обновить авторизационную единицу';
$this->params['breadcrumbs'] = Proc::Breadcrumbs($this, ['model' => [$model, $Authitemchild]]);
?>
<div class="authitem-update">
<div class="panel panel-<?php
echo Yii::$app->params['panelStyle'];
?>
">
<div class="panel-heading base-heading"><?php
echo Html::encode($this->title);
?>
</div>
<div class="panel-body">
<?php
echo $this->render('_form', ['model' => $model, 'searchModel' => $searchModel, 'dataProvider' => $dataProvider]);
?>
</div>
</div>
</div>
示例10:
<?php
\Yii::$app->getView()->registerJsFile('js/freewall.js');
\Yii::$app->getView()->registerJsFile('js/fregatmainmenu.js');
use yii\helpers\Html;
use app\func\Proc;
use yii\helpers\Url;
$this->title = 'Основные';
$this->params['breadcrumbs'] = Proc::Breadcrumbs($this, ['addfirst' => ['label' => 'Настройки портала', 'url' => Url::toRoute('Config/config/index')], 'clearbefore' => true]);
?>
<div class="panel panel-<?php
echo Yii::$app->params['panelStyle'];
?>
menuplitka">
<div class="panel-heading">Настройки портала</div>
<div class="panel-body">
<div class="menublock">
<?php
if (Yii::$app->user->can('UserEdit')) {
?>
<div class="menubutton menubutton_activeanim mb_yellow" id="mb_usermanager">
<span class="hoverspan"></span>
<div class="menubutton_cn">Менеджер пользователей</div>
<i class="glyphicon glyphicon-user"></i>
</div>
<?php
}
?>
<?php
if (Yii::$app->user->can('RoleEdit')) {