SHARE
TWEET

view.php

a guest Jan 21st, 2020 65 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. /* @var $this MahasiswaController */
  3. /* @var $model Mahasiswa */
  4.  
  5. $this->breadcrumbs=array(
  6.     'Mahasiswa'=>array('index'),
  7.     $model->npm,
  8. );
  9.  
  10. $this->menu=array(
  11.     array('label'=>'List Mahasiswa', 'url'=>array('index')),
  12.     array('label'=>'Create Mahasiswa', 'url'=>array('create')),
  13.     array('label'=>'Update Mahasiswa', 'url'=>array('update', 'id'=>$model->npm)),
  14.     array('label'=>'Delete Mahasiswa', 'url'=>'#', 'linkOptions'=>array('submit'=>array('delete','id'=>$model->npm),'confirm'=>'Are you sure you want to delete this item?')),
  15.     array('label'=>'Manage Mahasiswa', 'url'=>array('admin')),
  16. );
  17. ?>
  18.  
  19. <h1>View Mahasiswa #<?php echo $model->npm; ?></h1>
  20.  
  21. <?php $this->widget('zii.widgets.CDetailView', array(
  22.     'data'=>$model,
  23.     'attributes'=>array(
  24.         'npm',
  25.         'nama_mhs','url'=> <a href="http:<?php echo $nama_mhs ?">fb</a>,
  26.         'kd_jur',
  27.     ),
  28. )); ?>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top