|
Server IP : 127.0.0.1 / Your IP : 127.0.0.1 Web Server : Apache/2.4.10 (Win32) OpenSSL/1.0.1i PHP/5.6.3 System : Windows NT WIN-R7LTCC7BPLI 6.3 build 9200 (Windows Server 2012 R2 Datacenter Edition) i586 User : GerbangSIPAD ( 0) PHP Version : 5.6.3 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF Directory (0777) : C:/xampp5/htdocs/bhumie/upload/../protected/models/ |
| [ Home ] | [ C0mmand ] | [ Upload File ] |
|---|
<?php
/**
* This is the model class for table "pbb.pembetulan_spptskpstp".
*
* The followings are the available columns in table 'pbb.pembetulan_spptskpstp':
* @property string $kd_kanwil
* @property string $kd_kantor
* @property string $thn_pelayanan
* @property string $bundel_pelayanan
* @property string $no_urut_pelayanan
* @property string $kd_propinsi_pemohon
* @property string $kd_dati2_pemohon
* @property string $kd_kecamatan_pemohon
* @property string $kd_kelurahan_pemohon
* @property string $kd_blok_pemohon
* @property string $no_urut_pemohon
* @property string $kd_jns_op_pemohon
* @property string $thn_pembetulan
* @property string $jns_sk
* @property string $no_sk
* @property string $pbl_nama_wp
* @property string $pbl_jalan_wp
* @property string $pbl_blok_kav_no_wp
* @property string $pbl_luas_bumi
* @property string $pbl_luas_bng
* @property string $pbl_njop_bumi
* @property string $pbl_njop_bng
* @property string $pbl_pbb
* @property string $pbl_status
* @property string $jns_surat_yg_dibetulkan
* @property string $no_surat_yg_dibetulkan
* @property string $tgl_surat_yg_dibetulkan
* @property integer $createdby
* @property string $createdtime
* @property integer $updatedby
* @property string $updatedtime
*/
class PembetulanSpptskpstp extends CBhumieRecord
{
public $tahun_pajak;
/**
* Returns the static model of the specified AR class.
* @param string $className active record class name.
* @return PembetulanSpptskpstp the static model class
*/
public static function model($className=__CLASS__)
{
return parent::model($className);
}
/**
* @return string the associated database table name
*/
public function tableName()
{
return 'pbb.pembetulan_spptskpstp';
}
/**
* @return array validation rules for model attributes.
*/
public function rules()
{
// NOTE: you should only define rules for those attributes that
// will receive user inputs.
return array(
array('kd_kanwil, kd_kantor, thn_pelayanan, bundel_pelayanan, no_urut_pelayanan, kd_propinsi_pemohon, kd_dati2_pemohon, kd_kecamatan_pemohon, kd_kelurahan_pemohon, kd_blok_pemohon, no_urut_pemohon, kd_jns_op_pemohon, thn_pembetulan, jns_sk, no_sk, pbl_nama_wp, pbl_jalan_wp, pbl_pbb, pbl_status', 'required'),
//array('createdby, updatedby', 'numerical', 'integerOnly'=>true),
array('kd_kanwil, kd_kantor, kd_propinsi_pemohon, kd_dati2_pemohon, jns_surat_yg_dibetulkan', 'length', 'max'=>2),
array('thn_pelayanan, bundel_pelayanan, no_urut_pemohon, thn_pembetulan', 'length', 'max'=>4),
array('no_urut_pelayanan, kd_kecamatan_pemohon, kd_kelurahan_pemohon, kd_blok_pemohon', 'length', 'max'=>3),
array('kd_jns_op_pemohon, jns_sk, pbl_status', 'length', 'max'=>1),
array('no_sk, pbl_nama_wp, pbl_jalan_wp, no_surat_yg_dibetulkan', 'length', 'max'=>30),
array('pbl_blok_kav_no_wp', 'length', 'max'=>15),
array('pbl_luas_bumi, pbl_luas_bng, pbl_njop_bumi, pbl_njop_bng, tgl_surat_yg_dibetulkan', 'safe'),
// The following rule is used by search().
// Please remove those attributes that should not be searched.
array('kd_kanwil, kd_kantor, thn_pelayanan, bundel_pelayanan, no_urut_pelayanan, kd_propinsi_pemohon, kd_dati2_pemohon, kd_kecamatan_pemohon, kd_kelurahan_pemohon, kd_blok_pemohon, no_urut_pemohon, kd_jns_op_pemohon, thn_pembetulan, jns_sk, no_sk, pbl_nama_wp, pbl_jalan_wp, pbl_blok_kav_no_wp, pbl_luas_bumi, pbl_luas_bng, pbl_njop_bumi, pbl_njop_bng, pbl_pbb, pbl_status, jns_surat_yg_dibetulkan, no_surat_yg_dibetulkan, tgl_surat_yg_dibetulkan', 'safe', 'on'=>'search'),
);
}
/**
* @return array relational rules.
*/
public function relations()
{
// NOTE: you may need to adjust the relation name and the related
// class name for the relations automatically generated below.
return array(
);
}
/**
* @return array customized attribute labels (name=>label)
*/
public function attributeLabels()
{
return array(
'kd_kanwil' => 'Kd Kanwil',
'kd_kantor' => 'Kd Kantor',
'thn_pelayanan' => 'Thn Pelayanan',
'bundel_pelayanan' => 'Bundel Pelayanan',
'no_urut_pelayanan' => 'No Urut Pelayanan',
'kd_propinsi_pemohon' => 'Kd Propinsi Pemohon',
'kd_dati2_pemohon' => 'Kd Dati2 Pemohon',
'kd_kecamatan_pemohon' => 'Kd Kecamatan Pemohon',
'kd_kelurahan_pemohon' => 'Kd Kelurahan Pemohon',
'kd_blok_pemohon' => 'Kd Blok Pemohon',
'no_urut_pemohon' => 'No Urut Pemohon',
'kd_jns_op_pemohon' => 'Kd Jns Op Pemohon',
'thn_pembetulan' => 'Tahun Pembetulan',
'jns_sk' => 'Jenis Surat',
'no_sk' => 'No SK',
'pbl_nama_wp' => 'Pbl Nama Wp',
'pbl_jalan_wp' => 'Pbl Jalan Wp',
'pbl_blok_kav_no_wp' => 'Pbl Blok Kav No Wp',
'pbl_luas_bumi' => 'Pbl Luas Bumi',
'pbl_luas_bng' => 'Pbl Luas Bng',
'pbl_njop_bumi' => 'Pbl Njop Bumi',
'pbl_njop_bng' => 'Pbl Njop Bng',
'pbl_pbb' => 'Pbl Pbb',
'pbl_status' => 'Status Pembetulan',
'jns_surat_yg_dibetulkan' => 'Jenis Surat Yg Dibetulkan',
'no_surat_yg_dibetulkan' => 'No Surat Yg Dibetulkan',
'tgl_surat_yg_dibetulkan' => 'Tanggal Surat Yg Dibetulkan',
/*'createdby' => 'Createdby',
'createdtime' => 'Createdtime',
'updatedby' => 'Updatedby',
'updatedtime' => 'Updatedtime', */
);
}
/**
* Retrieves a list of models based on the current search/filter conditions.
* @return CActiveDataProvider the data provider that can return the models based on the search/filter conditions.
*/
public function search()
{
// Warning: Please modify the following code to remove attributes that
// should not be searched.
$criteria=new CDbCriteria;
$criteria->compare('kd_kanwil',$this->kd_kanwil,true);
$criteria->compare('kd_kantor',$this->kd_kantor,true);
$criteria->compare('thn_pelayanan',$this->thn_pelayanan,true);
$criteria->compare('bundel_pelayanan',$this->bundel_pelayanan,true);
$criteria->compare('no_urut_pelayanan',$this->no_urut_pelayanan,true);
$criteria->compare('kd_propinsi_pemohon',$this->kd_propinsi_pemohon,true);
$criteria->compare('kd_dati2_pemohon',$this->kd_dati2_pemohon,true);
$criteria->compare('kd_kecamatan_pemohon',$this->kd_kecamatan_pemohon,true);
$criteria->compare('kd_kelurahan_pemohon',$this->kd_kelurahan_pemohon,true);
$criteria->compare('kd_blok_pemohon',$this->kd_blok_pemohon,true);
$criteria->compare('no_urut_pemohon',$this->no_urut_pemohon,true);
$criteria->compare('kd_jns_op_pemohon',$this->kd_jns_op_pemohon,true);
$criteria->compare('thn_pembetulan',$this->thn_pembetulan,true);
$criteria->compare('jns_sk',$this->jns_sk,true);
$criteria->compare('no_sk',$this->no_sk,true);
$criteria->compare('pbl_nama_wp',$this->pbl_nama_wp,true);
$criteria->compare('pbl_jalan_wp',$this->pbl_jalan_wp,true);
$criteria->compare('pbl_blok_kav_no_wp',$this->pbl_blok_kav_no_wp,true);
$criteria->compare('pbl_luas_bumi',$this->pbl_luas_bumi,true);
$criteria->compare('pbl_luas_bng',$this->pbl_luas_bng,true);
$criteria->compare('pbl_njop_bumi',$this->pbl_njop_bumi,true);
$criteria->compare('pbl_njop_bng',$this->pbl_njop_bng,true);
$criteria->compare('pbl_pbb',$this->pbl_pbb,true);
$criteria->compare('pbl_status',$this->pbl_status,true);
$criteria->compare('jns_surat_yg_dibetulkan',$this->jns_surat_yg_dibetulkan,true);
$criteria->compare('no_surat_yg_dibetulkan',$this->no_surat_yg_dibetulkan,true);
$criteria->compare('tgl_surat_yg_dibetulkan',$this->tgl_surat_yg_dibetulkan,true);
/*$criteria->compare('createdby',$this->createdby);
$criteria->compare('createdtime',$this->createdtime,true);
$criteria->compare('updatedby',$this->updatedby);
$criteria->compare('updatedtime',$this->updatedtime,true); */
return new CActiveDataProvider($this, array(
'criteria'=>$criteria,
));
}
}