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

/**
 * This is the model class for table "pbb.parameter_sppt_stts_dhkp".
 *
 * The followings are the available columns in table 'pbb.parameter_sppt_stts_dhkp':
 * @property integer $sppt_terpisah
 * @property integer $stts_terpisah
 * @property integer $dhkp_terpisah
 * @property string $kelompok_buku
 * @property integer $tahun_pajak_sppt
 * @property integer $tahun_pajak_stts
 * @property integer $nama_kanwil
 * @property integer $nama_kantor
 * @property integer $kota_terbit
 * @property integer $nama_kepala_kantor
 * @property integer $barcode_sppt
 * @property string $jns_barcode_sppt
 * @property integer $barcode_stts
 * @property string $jns_barcode_stts
 * @property integer $sppt_form_baru
 * @property integer $stts_form_baru
 * @property integer $sppt_form_lama
 * @property integer $stts_form_lama
 * @property integer $surat_himbauan
 * @property string $buku_himbauan
 * @property integer $tunggakan_thn_lalu
 * @property integer $sppt_pbb_nol
 * @property integer $teks_kanwil
 * @property integer $teks_kantor
 * @property integer $teks_sppt
 * @property integer $teks_stts
 * @property string $kakap
 * @property integer $createdby
 * @property string $createdtime
 * @property integer $updatedby
 * @property string $updatedtime
 */
class ParameterSpptSttsDhkp extends CBhumieRecord
{
	/**
	 * Returns the static model of the specified AR class.
	 * @param string $className active record class name.
	 * @return ParameterSpptSttsDhkp 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.parameter_sppt_stts_dhkp';
	}

	/**
	 * @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('sppt_terpisah, stts_terpisah, dhkp_terpisah, kelompok_buku, tahun_pajak_sppt, tahun_pajak_stts, nama_kanwil, nama_kantor, kota_terbit, nama_kepala_kantor, sppt_form_baru, stts_form_baru, sppt_form_lama, stts_form_lama, surat_himbauan, tunggakan_thn_lalu, sppt_pbb_nol, teks_kanwil, teks_kantor, teks_sppt, teks_stts, createdby, createdtime, updatedby, updatedtime', 'required'),
			array('sppt_terpisah, stts_terpisah, dhkp_terpisah, tahun_pajak_sppt, tahun_pajak_stts, nama_kanwil, nama_kantor, kota_terbit, nama_kepala_kantor, barcode_sppt, barcode_stts, sppt_form_baru, stts_form_baru, sppt_form_lama, stts_form_lama, surat_himbauan, tunggakan_thn_lalu, sppt_pbb_nol, teks_kanwil, teks_kantor, teks_sppt, teks_stts, createdby, updatedby', 'numerical', 'integerOnly'=>true),
			array('kelompok_buku, buku_himbauan', 'length', 'max'=>2),
			array('jns_barcode_sppt, jns_barcode_stts', 'length', 'max'=>1),
			array('kakap', 'length', 'max'=>4),
			// The following rule is used by search().
			// Please remove those attributes that should not be searched.
			array('sppt_terpisah, stts_terpisah, dhkp_terpisah, kelompok_buku, tahun_pajak_sppt, tahun_pajak_stts, nama_kanwil, nama_kantor, kota_terbit, nama_kepala_kantor, barcode_sppt, jns_barcode_sppt, barcode_stts, jns_barcode_stts, sppt_form_baru, stts_form_baru, sppt_form_lama, stts_form_lama, surat_himbauan, buku_himbauan, tunggakan_thn_lalu, sppt_pbb_nol, teks_kanwil, teks_kantor, teks_sppt, teks_stts, kakap, 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(
			'sppt_terpisah' => 'Sppt Terpisah',
			'stts_terpisah' => 'Stts Terpisah',
			'dhkp_terpisah' => 'Dhkp Terpisah',
			'kelompok_buku' => 'Kelompok Buku',
			'tahun_pajak_sppt' => 'Tahun Pajak Sppt',
			'tahun_pajak_stts' => 'Tahun Pajak Stts',
			'nama_kanwil' => 'Nama Kanwil',
			'nama_kantor' => 'Nama Kantor',
			'kota_terbit' => 'Kota Terbit',
			'nama_kepala_kantor' => 'Nama Kepala Kantor',
			'barcode_sppt' => 'Barcode Sppt',
			'jns_barcode_sppt' => 'Jns Barcode Sppt',
			'barcode_stts' => 'Barcode Stts',
			'jns_barcode_stts' => 'Jns Barcode Stts',
			'sppt_form_baru' => 'Sppt Form Baru',
			'stts_form_baru' => 'Stts Form Baru',
			'sppt_form_lama' => 'Sppt Form Lama',
			'stts_form_lama' => 'Stts Form Lama',
			'surat_himbauan' => 'Surat Himbauan',
			'buku_himbauan' => 'Buku Himbauan',
			'tunggakan_thn_lalu' => 'Tunggakan Thn Lalu',
			'sppt_pbb_nol' => 'Sppt Pbb Nol',
			'teks_kanwil' => 'Teks Kanwil',
			'teks_kantor' => 'Teks Kantor',
			'teks_sppt' => 'Teks Sppt',
			'teks_stts' => 'Teks Stts',
			'kakap' => 'Kakap',
			'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('sppt_terpisah',$this->sppt_terpisah);
		$criteria->compare('stts_terpisah',$this->stts_terpisah);
		$criteria->compare('dhkp_terpisah',$this->dhkp_terpisah);
		$criteria->compare('kelompok_buku',$this->kelompok_buku,true);
		$criteria->compare('tahun_pajak_sppt',$this->tahun_pajak_sppt);
		$criteria->compare('tahun_pajak_stts',$this->tahun_pajak_stts);
		$criteria->compare('nama_kanwil',$this->nama_kanwil);
		$criteria->compare('nama_kantor',$this->nama_kantor);
		$criteria->compare('kota_terbit',$this->kota_terbit);
		$criteria->compare('nama_kepala_kantor',$this->nama_kepala_kantor);
		$criteria->compare('barcode_sppt',$this->barcode_sppt);
		$criteria->compare('jns_barcode_sppt',$this->jns_barcode_sppt,true);
		$criteria->compare('barcode_stts',$this->barcode_stts);
		$criteria->compare('jns_barcode_stts',$this->jns_barcode_stts,true);
		$criteria->compare('sppt_form_baru',$this->sppt_form_baru);
		$criteria->compare('stts_form_baru',$this->stts_form_baru);
		$criteria->compare('sppt_form_lama',$this->sppt_form_lama);
		$criteria->compare('stts_form_lama',$this->stts_form_lama);
		$criteria->compare('surat_himbauan',$this->surat_himbauan);
		$criteria->compare('buku_himbauan',$this->buku_himbauan,true);
		$criteria->compare('tunggakan_thn_lalu',$this->tunggakan_thn_lalu);
		$criteria->compare('sppt_pbb_nol',$this->sppt_pbb_nol);
		$criteria->compare('teks_kanwil',$this->teks_kanwil);
		$criteria->compare('teks_kantor',$this->teks_kantor);
		$criteria->compare('teks_sppt',$this->teks_sppt);
		$criteria->compare('teks_stts',$this->teks_stts);
		$criteria->compare('kakap',$this->kakap,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