This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$tf = new TableFactory(); | |
$horizontalHeader = array(); | |
$verticalHeader = array(); | |
$taken = array(); | |
$activiteiten = array(array()); | |
$personen = array(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$this->breadcrumbs = array( | |
$model->label(2) => array('index'), | |
Yii::t('app', 'Manage'), | |
); | |
$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')), | |
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo "<td>" . $form->dropDownList($modelFoundPersoonhasstdtaak, "[$modelStdactiviteit->idStdActiviteit][$modelStdtaak->idStdTaak]idPersoon", CHtml::listdata($modelStdtaak->idTeam0->persoons, 'idPersoon', 'fullname')) . "</td>"; Is there another way instead of [$modelStdactiviteit->idStdActiviteit][$modelStdtaak->idStdTaak] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$modelFoundPersoonhasstdtaak = $modelPersoonhasstdtaak->findByPk(array( | |
'idPlanning' => $modelPlanning->idPlanning, | |
'idStdTaak' => $modelStdtaak->idStdTaak, | |
'idStdActiviteit' => $modelStdactiviteit->idStdActiviteit, | |
)); | |
if ($modelFoundPersoonhasstdtaak != NULL) { | |
echo $modelFoundPersoonhasstdtaak->idPersoon0; | |
//$form->dropDownList($model, $attribute, $data, $htmlOptions); | |
echo "<td>" . $form->dropDownList($modelFoundPersoonhasstdtaak, "[$modelStdtaak->idStdTaak]idPersoon", $modelStdtaak->idTeam0->persoons) . "</td>"; | |
echo $form->error($modelFoundPersoonhasstdtaak, "[$modelStdtaak->idStdTaak]idPersoon"); |
NewerOlder