|
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.his_op_anggota".
*
* The followings are the available columns in table 'pbb.his_op_anggota':
* @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 $his_kd_propinsi_induk
* @property string $his_kd_dati2_induk
* @property string $his_kd_kecamatan_induk
* @property string $his_kd_kelurahan_induk
* @property string $his_kd_blok_induk
* @property string $his_no_urut_induk
* @property string $his_kd_jns_op_induk
* @property string $his_luas_bumi_beban
* @property string $his_luas_bng_beban
* @property string $his_nilai_bumi_beban
* @property string $his_nilai_bng_beban
* @property integer $createdby
* @property string $createdtime
* @property integer $updatedby
* @property string $updatedtime
* @property string $his_njop_bumi_beban
* @property string $his_njop_bng_beban
*/
class HisOpAnggota extends CBhumieRecord
{
/**
* Returns the static model of the specified AR class.
* @param string $className active record class name.
* @return HisOpAnggota 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.his_op_anggota';
}
/**
* @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, his_kd_propinsi_induk, his_kd_dati2_induk, his_kd_kecamatan_induk, his_kd_kelurahan_induk, his_kd_blok_induk, his_no_urut_induk, his_kd_jns_op_induk, his_luas_bumi_beban, his_luas_bng_beban, his_nilai_bumi_beban, his_nilai_bng_beban', 'required'),
//array('createdby, updatedby', 'numerical', 'integerOnly'=>true),
array('kd_propinsi, kd_dati2, his_kd_propinsi_induk, his_kd_dati2_induk', 'length', 'max'=>2),
array('kd_kecamatan, kd_kelurahan, kd_blok, his_kd_kecamatan_induk, his_kd_kelurahan_induk, his_kd_blok_induk', 'length', 'max'=>3),
array('no_urut, his_no_urut_induk', 'length', 'max'=>4),
array('kd_jns_op, his_kd_jns_op_induk', 'length', 'max'=>1),
array('his_njop_bumi_beban, his_njop_bng_beban', '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, his_kd_propinsi_induk, his_kd_dati2_induk, his_kd_kecamatan_induk, his_kd_kelurahan_induk, his_kd_blok_induk, his_no_urut_induk, his_kd_jns_op_induk, his_luas_bumi_beban, his_luas_bng_beban, his_nilai_bumi_beban, his_nilai_bng_beban, createdby, createdtime, updatedby, updatedtime, his_njop_bumi_beban, his_njop_bng_beban', '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',
'his_kd_propinsi_induk' => 'His Kd Propinsi Induk',
'his_kd_dati2_induk' => 'His Kd Dati2 Induk',
'his_kd_kecamatan_induk' => 'His Kd Kecamatan Induk',
'his_kd_kelurahan_induk' => 'His Kd Kelurahan Induk',
'his_kd_blok_induk' => 'His Kd Blok Induk',
'his_no_urut_induk' => 'His No Urut Induk',
'his_kd_jns_op_induk' => 'His Kd Jns Op Induk',
'his_luas_bumi_beban' => 'His Luas Bumi Beban',
'his_luas_bng_beban' => 'His Luas Bng Beban',
'his_nilai_bumi_beban' => 'His Nilai Bumi Beban',
'his_nilai_bng_beban' => 'His Nilai Bng Beban',
'createdby' => 'Createdby',
'createdtime' => 'Createdtime',
'updatedby' => 'Updatedby',
'updatedtime' => 'Updatedtime',
'his_njop_bumi_beban' => 'His Njop Bumi Beban',
'his_njop_bng_beban' => 'His Njop Bng Beban',
);
}
/**
* 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('his_kd_propinsi_induk',$this->his_kd_propinsi_induk,true);
$criteria->compare('his_kd_dati2_induk',$this->his_kd_dati2_induk,true);
$criteria->compare('his_kd_kecamatan_induk',$this->his_kd_kecamatan_induk,true);
$criteria->compare('his_kd_kelurahan_induk',$this->his_kd_kelurahan_induk,true);
$criteria->compare('his_kd_blok_induk',$this->his_kd_blok_induk,true);
$criteria->compare('his_no_urut_induk',$this->his_no_urut_induk,true);
$criteria->compare('his_kd_jns_op_induk',$this->his_kd_jns_op_induk,true);
$criteria->compare('his_luas_bumi_beban',$this->his_luas_bumi_beban,true);
$criteria->compare('his_luas_bng_beban',$this->his_luas_bng_beban,true);
$criteria->compare('his_nilai_bumi_beban',$this->his_nilai_bumi_beban,true);
$criteria->compare('his_nilai_bng_beban',$this->his_nilai_bng_beban,true);
$criteria->compare('createdby',$this->createdby);
$criteria->compare('createdtime',$this->createdtime,true);
$criteria->compare('updatedby',$this->updatedby);
$criteria->compare('updatedtime',$this->updatedtime,true);
$criteria->compare('his_njop_bumi_beban',$this->his_njop_bumi_beban,true);
$criteria->compare('his_njop_bng_beban',$this->his_njop_bng_beban,true);
return new CActiveDataProvider($this, array(
'criteria'=>$criteria,
));
}
}