diff options
| author | Patrick Seeger <pseeger@ccwn.org> | 2012-05-15 21:30:11 +0200 |
|---|---|---|
| committer | Patrick Seeger <pseeger@ccwn.org> | 2012-05-15 21:30:11 +0200 |
| commit | 5759435f4da8ec800ba9af0fbbf7d6691e9ed56c (patch) | |
| tree | a3e6f6c676743e89b11804a03bd4f1e837983be9 /protected/views/standort/_standort.php | |
| parent | 94bdb31c204cdae3ca820828d4731f11f6ffeeae (diff) | |
diverse Layoutings
Diffstat (limited to 'protected/views/standort/_standort.php')
| -rw-r--r-- | protected/views/standort/_standort.php | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/protected/views/standort/_standort.php b/protected/views/standort/_standort.php new file mode 100644 index 0000000..9c12fbe --- /dev/null +++ b/protected/views/standort/_standort.php @@ -0,0 +1,18 @@ +<h6>Folgende Vereine finden sich <?php echo $data->name?></h6> +<?php +$dataProvider=new CActiveDataProvider('Verein', array( + 'criteria'=>array( + 'condition'=>'standort_id='.$data->id, + ), + 'pagination'=>array( + 'pageSize'=>20, + ), + +)); +$this->widget('zii.widgets.CListView', array( + 'dataProvider'=>$dataProvider, + 'itemView'=>'/verein/_short', + 'sortableAttributes'=>array( + 'name' + ) + ));?>
\ No newline at end of file |
