mirror of
https://github.com/LBRYFoundation/pool.git
synced 2025-08-23 17:37:25 +00:00
35 lines
434 B
PHP
35 lines
434 B
PHP
<?php
|
|
|
|
class db_bench_chips extends CActiveRecord
|
|
{
|
|
public static function model($className=__CLASS__)
|
|
{
|
|
return parent::model($className);
|
|
}
|
|
|
|
public function tableName()
|
|
{
|
|
return 'bench_chips';
|
|
}
|
|
|
|
public function rules()
|
|
{
|
|
return array(
|
|
array('chip,vendorid', 'safe', 'on'=>'search'),
|
|
);
|
|
}
|
|
|
|
public function relations()
|
|
{
|
|
return array(
|
|
);
|
|
}
|
|
|
|
public function attributeLabels()
|
|
{
|
|
return array(
|
|
);
|
|
}
|
|
|
|
}
|
|
|