Skip to content

Commit

Permalink
commit for backup
Browse files Browse the repository at this point in the history
  • Loading branch information
gedelumbung committed Aug 6, 2014
1 parent 99ea3b3 commit 63e4102
Show file tree
Hide file tree
Showing 8 changed files with 796 additions and 357 deletions.
38 changes: 6 additions & 32 deletions protected/controllers/Kanal_desaController.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,38 +7,12 @@ public function actionView($id)
$merge_id = '';
$criteria_des= new CDbCriteria;
$criteria_des->condition ='id_desa_kelurahan = "'.$id.'" ';
$desa = DesaKelurahan::model()->findAll($criteria_des);
foreach($desa as $des)
{
$merge_id .= $des->id_desa_kelurahan.',';
}
echo $merge_id;
}
$desa = DesaKelurahan::model()->find($criteria_des);

// Uncomment the following methods and override them if needed
/*
public function filters()
{
// return the filter configuration for this controller, e.g.:
return array(
'inlineFilterName',
array(
'class'=>'path.to.FilterClass',
'propertyName'=>'propertyValue',
),
);
}
$model['attr_wilayah'] = $desa;

public function actions()
{
// return external action classes, e.g.:
return array(
'action1'=>'path.to.ActionClass',
'action2'=>array(
'class'=>'path.to.AnotherActionClass',
'propertyName'=>'propertyValue',
),
);
}
*/
$this->render('index', array(
'model' => $model
));
}
}
1 change: 1 addition & 0 deletions protected/models/ArtPerorangan.php
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ public function attributeLabels()
'id_art' => 'Id Art',
'no_urut_ibu_kandung' => 'No Urut Ibu Kandung',
'kehadiran_wawancara' => 'Kehadiran Wawancara',
'kurang_gizi' => 'Kurang Gizi',
'keluhan_panas' => 'Keluhan Panas',
'keluhan_batuk' => 'Keluhan Batuk',
'keluhan_pilek' => 'Keluhan Pilek',
Expand Down
Loading

0 comments on commit 63e4102

Please sign in to comment.