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/PstLampiran.php
<?php

/**
 * This is the model class for table "pbb.pst_lampiran".
 *
 * The followings are the available columns in table 'pbb.pst_lampiran':
 * @property string $kd_kanwil
 * @property string $kd_kantor
 * @property string $thn_pelayanan
 * @property string $bundel_pelayanan
 * @property string $no_urut_pelayanan
 * @property integer $l_permohonan
 * @property integer $l_surat_kuasa
 * @property integer $l_ktp_wp
 * @property integer $l_sertifikat_tanah
 * @property integer $l_sppt
 * @property integer $l_imb
 * @property integer $l_akte_jual_beli
 * @property integer $l_sk_pensiun
 * @property integer $l_sppt_stts
 * @property integer $l_stts
 * @property integer $l_sk_pengurangan
 * @property integer $l_sk_keberatan
 * @property integer $l_skkp_pbb
 * @property integer $l_spmkp_pbb
 * @property integer $l_lain_lain
 * @property integer $createdby
 * @property string $createdtime
 * @property integer $updatedby
 * @property string $updatedtime
 * @property integer $l_sket_tanah
 * @property integer $l_sket_lurah
 * @property integer $l_npwpd
 * @property integer $l_penghasilan
 * @property integer $l_cagar
 */
class PstLampiran extends CBhumieRecord
{
	/**
	 * Returns the static model of the specified AR class.
	 * @param string $className active record class name.
	 * @return PstLampiran 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.pst_lampiran';
	}

	/**
	 * @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', 'required'),
			array('l_permohonan, l_surat_kuasa, l_ktp_wp, l_sertifikat_tanah, l_sppt, l_imb, l_akte_jual_beli, l_sk_pensiun, l_sppt_stts, l_stts, l_sk_pengurangan, l_sk_keberatan, l_skkp_pbb, l_spmkp_pbb, l_lain_lain, l_sket_tanah, l_sket_lurah, l_npwpd, l_penghasilan, l_cagar', 'numerical', 'integerOnly'=>true),
			array('kd_kanwil, kd_kantor', 'length', 'max'=>2),
			array('thn_pelayanan, bundel_pelayanan', 'length', 'max'=>4),
			array('no_urut_pelayanan', 'length', 'max'=>3),
			// 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, l_permohonan, l_surat_kuasa, l_ktp_wp, l_sertifikat_tanah, l_sppt, l_imb, l_akte_jual_beli, l_sk_pensiun, l_sppt_stts, l_stts, l_sk_pengurangan, l_sk_keberatan, l_skkp_pbb, l_spmkp_pbb, l_lain_lain, createdby, createdtime, updatedby, updatedtime, l_sket_tanah, l_sket_lurah, l_npwpd, l_penghasilan, l_cagar', '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',
			'l_permohonan' => 'L Permohonan',
			'l_surat_kuasa' => 'L Surat Kuasa',
			'l_ktp_wp' => 'L Ktp Wp',
			'l_sertifikat_tanah' => 'L Sertifikat Tanah',
			'l_sppt' => 'L Sppt',
			'l_imb' => 'L Imb',
			'l_akte_jual_beli' => 'L Akte Jual Beli',
			'l_sk_pensiun' => 'L Sk Pensiun',
			'l_sppt_stts' => 'L Sppt Stts',
			'l_stts' => 'L Stts',
			'l_sk_pengurangan' => 'L Sk Pengurangan',
			'l_sk_keberatan' => 'L Sk Keberatan',
			'l_skkp_pbb' => 'L Skkp Pbb',
			'l_spmkp_pbb' => 'L Spmkp Pbb',
			'l_lain_lain' => 'L Lain Lain',
			'createdby' => 'Createdby',
			'createdtime' => 'Createdtime',
			'updatedby' => 'Updatedby',
			'updatedtime' => 'Updatedtime',
			'l_sket_tanah' => 'L Sket Tanah',
			'l_sket_lurah' => 'L Sket Lurah',
			'l_npwpd' => 'L Npwpd',
			'l_penghasilan' => 'L Penghasilan',
			'l_cagar' => 'L Cagar',
		);
	}

	/**
	 * 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('l_permohonan',$this->l_permohonan);
		$criteria->compare('l_surat_kuasa',$this->l_surat_kuasa);
		$criteria->compare('l_ktp_wp',$this->l_ktp_wp);
		$criteria->compare('l_sertifikat_tanah',$this->l_sertifikat_tanah);
		$criteria->compare('l_sppt',$this->l_sppt);
		$criteria->compare('l_imb',$this->l_imb);
		$criteria->compare('l_akte_jual_beli',$this->l_akte_jual_beli);
		$criteria->compare('l_sk_pensiun',$this->l_sk_pensiun);
		$criteria->compare('l_sppt_stts',$this->l_sppt_stts);
		$criteria->compare('l_stts',$this->l_stts);
		$criteria->compare('l_sk_pengurangan',$this->l_sk_pengurangan);
		$criteria->compare('l_sk_keberatan',$this->l_sk_keberatan);
		$criteria->compare('l_skkp_pbb',$this->l_skkp_pbb);
		$criteria->compare('l_spmkp_pbb',$this->l_spmkp_pbb);
		$criteria->compare('l_lain_lain',$this->l_lain_lain);
		$criteria->compare('createdby',$this->createdby);
		$criteria->compare('createdtime',$this->createdtime,true);
		$criteria->compare('updatedby',$this->updatedby);
		$criteria->compare('updatedtime',$this->updatedtime,true);
		$criteria->compare('l_sket_tanah',$this->l_sket_tanah);
		$criteria->compare('l_sket_lurah',$this->l_sket_lurah);
		$criteria->compare('l_npwpd',$this->l_npwpd);
		$criteria->compare('l_penghasilan',$this->l_penghasilan);
		$criteria->compare('l_cagar',$this->l_cagar);

		return new CActiveDataProvider($this, array(
			'criteria'=>$criteria,
		));
	}
}

AnonSec - 2021