pool/web/yaamp/models/db_bench_chipsModel.php
Tanguy Pruvot 53638b1d90 bench: add a task to add new submitted chips
also remove "safe" model rules, seems to create import problems
2016-06-08 19:49:59 +02:00

35 lines
413 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', 'required'),
);
}
public function relations()
{
return array(
);
}
public function attributeLabels()
{
return array(
);
}
}