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/protected/models/

[  Home  ][  C0mmand  ][  Upload File  ]

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

/**
 * This is the model class for table "pbb.dat_transaksi_jual_beli".
 *
 * The followings are the available columns in table 'pbb.dat_transaksi_jual_beli':
 * @property string $kd_propinsi
 * @property string $kd_dati2
 * @property string $kd_kecamatan
 * @property string $kd_kelurahan
 * @property string $kd_blok
 * @property string $no_urut
 * @property string $kd_jns_op
 * @property string $tgl_transaksi
 * @property string $sumber_informasi
 * @property string $luas_bumi_transaksi
 * @property string $luas_bng_transaksi
 * @property string $kd_znt_transaksi
 * @property string $harga_bng_transaksi
 * @property string $harga_bumi_transaksi
 * @property string $harga_total_transaksi
 * @property string $tgl_rekam_transaksi
 * @property string $nip_perekam
 * @property integer $createdby
 * @property string $createdtime
 * @property integer $updatedby
 * @property string $updatedtime
 */
class DatTransaksiJualBeli extends CBhumieRecord
{
	/**
	 * Returns the static model of the specified AR class.
	 * @param string $className active record class name.
	 * @return DatTransaksiJualBeli 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.dat_transaksi_jual_beli';
	}

	/**
	 * @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, no_urut, kd_jns_op, tgl_transaksi, sumber_informasi, kd_znt_transaksi, harga_total_transaksi, nip_perekam, createdby, createdtime, updatedby, updatedtime', 'required'),
                        array('kd_propinsi, kd_dati2, kd_kecamatan, kd_kelurahan, kd_blok, no_urut, kd_jns_op, tgl_transaksi, sumber_informasi, kd_znt_transaksi, harga_total_transaksi, nip_perekam', 'required'),
			//array('createdby, updatedby', 'numerical', 'integerOnly'=>true),
			array('kd_propinsi, kd_dati2, kd_znt_transaksi', 'length', 'max'=>2),
			array('kd_kecamatan, kd_kelurahan, kd_blok', 'length', 'max'=>3),
			array('no_urut', 'length', 'max'=>4),
			array('kd_jns_op, sumber_informasi', 'length', 'max'=>1),
			array('nip_perekam', 'length', 'max'=>18),
			array('luas_bumi_transaksi, luas_bng_transaksi, harga_bng_transaksi, harga_bumi_transaksi, tgl_rekam_transaksi', '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, no_urut, kd_jns_op, tgl_transaksi, sumber_informasi, luas_bumi_transaksi, luas_bng_transaksi, kd_znt_transaksi, harga_bng_transaksi, harga_bumi_transaksi, harga_total_transaksi, tgl_rekam_transaksi, nip_perekam, createdby, createdtime, updatedby, updatedtime', 'safe', 'on'=>'search'),
                        array('kd_propinsi, kd_dati2, kd_kecamatan, kd_kelurahan, kd_blok, no_urut, kd_jns_op, tgl_transaksi, sumber_informasi, luas_bumi_transaksi, luas_bng_transaksi, kd_znt_transaksi, harga_bng_transaksi, harga_bumi_transaksi, harga_total_transaksi, tgl_rekam_transaksi, nip_perekam', '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' => 'Kd Blok',
			'no_urut' => 'No Urut',
			'kd_jns_op' => 'Kd Jns Op',
			'tgl_transaksi' => 'Tgl Transaksi',
			'sumber_informasi' => 'Sumber Informasi',
			'luas_bumi_transaksi' => 'Luas Bumi Transaksi',
			'luas_bng_transaksi' => 'Luas Bng Transaksi',
			'kd_znt_transaksi' => 'Kd Znt Transaksi',
			'harga_bng_transaksi' => 'Harga Bng Transaksi',
			'harga_bumi_transaksi' => 'Harga Bumi Transaksi',
			'harga_total_transaksi' => 'Harga Total Transaksi',
			'tgl_rekam_transaksi' => 'Tgl Rekam Transaksi',
			'nip_perekam' => 'Nip Perekam',
			//'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',$this->kd_blok,true);
		$criteria->compare('no_urut',$this->no_urut,true);
		$criteria->compare('kd_jns_op',$this->kd_jns_op,true);
		$criteria->compare('tgl_transaksi',$this->tgl_transaksi,true);
		$criteria->compare('sumber_informasi',$this->sumber_informasi,true);
		$criteria->compare('luas_bumi_transaksi',$this->luas_bumi_transaksi,true);
		$criteria->compare('luas_bng_transaksi',$this->luas_bng_transaksi,true);
		$criteria->compare('kd_znt_transaksi',$this->kd_znt_transaksi,true);
		$criteria->compare('harga_bng_transaksi',$this->harga_bng_transaksi,true);
		$criteria->compare('harga_bumi_transaksi',$this->harga_bumi_transaksi,true);
		$criteria->compare('harga_total_transaksi',$this->harga_total_transaksi,true);
		$criteria->compare('tgl_rekam_transaksi',$this->tgl_rekam_transaksi,true);
		$criteria->compare('nip_perekam',$this->nip_perekam,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