AnonSec Team
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  ]

Current File : C:/xampp5/htdocs/bhumie/upload/../protected/models/PenghapusanOp.php
<?php

/**
 * This is the model class for table "pbb.penghapusan_op".
 *
 * The followings are the available columns in table 'pbb.penghapusan_op':
 * @property string $kd_propinsi
 * @property string $kd_dati2
 * @property string $kd_kecamatan
 * @property string $kd_kelurahan
 * @property string $kd_blok_penghapusan
 * @property string $no_urut_penghapusan
 * @property string $kd_jns_op_penghapusan
 * @property string $thn_pajak_penghapusan_op
 * @property string $no_formulir_penghapusan_op
 * @property string $nama_wp_penghapusan
 * @property string $kd_znt_penghapusan
 * @property string $luas_bumi_penghapusan
 * @property string $nilai_bumi_penghapusan
 * @property string $pbb_hapus_op
 * @property string $tgl_penghapusan_op
 * @property string $nip_perekam_penghapusan_op
 * @property integer $createdby
 * @property string $createdtime
 * @property integer $updatedby
 * @property string $updatedtime
 */
class PenghapusanOp extends CBhumieRecord
{
	/**
	 * Returns the static model of the specified AR class.
	 * @param string $className active record class name.
	 * @return PenghapusanOp 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.penghapusan_op';
	}

	/**
	 * @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_propinsi, kd_dati2, kd_kecamatan, kd_kelurahan, kd_blok_penghapusan, no_urut_penghapusan, kd_jns_op_penghapusan, thn_pajak_penghapusan_op, no_formulir_penghapusan_op, nama_wp_penghapusan, kd_znt_penghapusan, luas_bumi_penghapusan, nilai_bumi_penghapusan, pbb_hapus_op, nip_perekam_penghapusan_op', 'required'),
			//array('createdby, updatedby', 'numerical', 'integerOnly'=>true),
			array('kd_propinsi, kd_dati2, kd_znt_penghapusan', 'length', 'max'=>2),
			array('kd_kecamatan, kd_kelurahan, kd_blok_penghapusan', 'length', 'max'=>3),
			array('no_urut_penghapusan, thn_pajak_penghapusan_op', 'length', 'max'=>4),
			array('kd_jns_op_penghapusan', 'length', 'max'=>1),
			array('no_formulir_penghapusan_op', 'length', 'max'=>11),
			array('nama_wp_penghapusan', 'length', 'max'=>30),
			array('nip_perekam_penghapusan_op', 'length', 'max'=>18),
			array('tgl_penghapusan_op', 'safe'),
			// The following rule is used by search().
			// Please remove those attributes that should not be searched.
			array('kd_propinsi, kd_dati2, kd_kecamatan, kd_kelurahan, kd_blok_penghapusan, no_urut_penghapusan, kd_jns_op_penghapusan, thn_pajak_penghapusan_op, no_formulir_penghapusan_op, nama_wp_penghapusan, kd_znt_penghapusan, luas_bumi_penghapusan, nilai_bumi_penghapusan, pbb_hapus_op, tgl_penghapusan_op, nip_perekam_penghapusan_op, createdby, createdtime, updatedby, updatedtime', '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_propinsi' => 'Kd Propinsi',
			'kd_dati2' => 'Kd Dati2',
			'kd_kecamatan' => 'Kd Kecamatan',
			'kd_kelurahan' => 'Kd Kelurahan',
			'kd_blok_penghapusan' => 'Kd Blok Penghapusan',
			'no_urut_penghapusan' => 'No Urut Penghapusan',
			'kd_jns_op_penghapusan' => 'Kd Jns Op Penghapusan',
			'thn_pajak_penghapusan_op' => 'Thn Pajak Penghapusan Op',
			'no_formulir_penghapusan_op' => 'No Formulir Penghapusan Op',
			'nama_wp_penghapusan' => 'Nama Wp Penghapusan',
			'kd_znt_penghapusan' => 'Kd Znt Penghapusan',
			'luas_bumi_penghapusan' => 'Luas Bumi Penghapusan',
			'nilai_bumi_penghapusan' => 'Nilai Bumi Penghapusan',
			'pbb_hapus_op' => 'Pbb Hapus Op',
			'tgl_penghapusan_op' => 'Tgl Penghapusan Op',
			'nip_perekam_penghapusan_op' => 'Nip Perekam Penghapusan Op',
			'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_propinsi',$this->kd_propinsi,true);
		$criteria->compare('kd_dati2',$this->kd_dati2,true);
		$criteria->compare('kd_kecamatan',$this->kd_kecamatan,true);
		$criteria->compare('kd_kelurahan',$this->kd_kelurahan,true);
		$criteria->compare('kd_blok_penghapusan',$this->kd_blok_penghapusan,true);
		$criteria->compare('no_urut_penghapusan',$this->no_urut_penghapusan,true);
		$criteria->compare('kd_jns_op_penghapusan',$this->kd_jns_op_penghapusan,true);
		$criteria->compare('thn_pajak_penghapusan_op',$this->thn_pajak_penghapusan_op,true);
		$criteria->compare('no_formulir_penghapusan_op',$this->no_formulir_penghapusan_op,true);
		$criteria->compare('nama_wp_penghapusan',$this->nama_wp_penghapusan,true);
		$criteria->compare('kd_znt_penghapusan',$this->kd_znt_penghapusan,true);
		$criteria->compare('luas_bumi_penghapusan',$this->luas_bumi_penghapusan,true);
		$criteria->compare('nilai_bumi_penghapusan',$this->nilai_bumi_penghapusan,true);
		$criteria->compare('pbb_hapus_op',$this->pbb_hapus_op,true);
		$criteria->compare('tgl_penghapusan_op',$this->tgl_penghapusan_op,true);
		$criteria->compare('nip_perekam_penghapusan_op',$this->nip_perekam_penghapusan_op,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,
		));
	}
}

AnonSec - 2021