List of GGBN Members

title) ?>

'yii\grid\SerialColumn'], // 'carouselid', 'institutionFullName', 'country', 'dateOfJoining', ['label' => 'Current Member Status', 'attribute' => 'memberStatus' ], /* ['label' => '#Member', 'attribute' => 'memberNumber' ], */ ['label'=>'Samples', 'format'=>'html', 'attribute'=>'a', 'value'=>function($data) { $pos = strpos($data['onlineSince'], '20'); if ($pos !== false) { return Html::a('Go to Stats','../stats/details?registry='.$data['institutionShort'].', '.$data['city']); } else {return ""; } } ], ['label'=>'Registry', 'format'=>'html', 'attribute'=>'a', 'value'=>function($data) { if ($data['fk_ncd_collectionID'] != "") { return Html::a('Go to Registry', 'http://registry.ggbn.org/ncd/collection_detail.php?id=' . $data['fk_ncd_collectionID'], ['target' => '_blank']); } else { if ($data['fk_ncd_institutionID'] != "") { return Html::a('Go to Registry', 'http://registry.ggbn.org/ncd/organisation_detail.php?id=' . $data['fk_ncd_institutionID'], ['target' => '_blank']); } else {return ""; } } } ], // ['class' => 'yii\grid\ActionColumn'], ]; // Renders a export dropdown menu echo ExportMenu::widget([ 'dataProvider' => $dataProvider, 'columns' => $gridColumns ]); // You can choose to render your own GridView separately echo GridView::widget([ 'dataProvider' => $dataProvider, // 'filterModel' => $searchModel, 'columns' => $gridColumns ]); ?>