<commit_before><?php
/*
 * 2014-07-20
 * <EMAIL>
 */
namespace app\models;

use Yii;
use \yii\db\ActiveRecord;
class USSWo extends ActiveRecord{
    public static function getDb() {
        return Yii::$app->db3;
    }
    public static function tableName() {
        return 'tpt_wo';
    }
    public static function primaryKey() {
        return ['id'];
    }
    public function getDepositDate(){
        $date=MissionLocal::find()->where(['scene_id'=>$this->id])->one();
        return is_object($date)?$date->definition->deposit_date:null;
    }
    public function getStripName(){
        $model=SplittedStripLocal::find()->where(['scene_id'=>$data->id])->one();
        return is_object($model)?$model->strips->miseo_name:null;
    }
}<commit_msg>added getRequestName<commit_after><?php
/*
 * 2014-07-20
 * <EMAIL>
 */
namespace app\models;

use Yii;
use \yii\db\ActiveRecord;
class USSWo extends ActiveRecord{
    public static function getDb() {
        return Yii::$app->db3;
    }
    public static function tableName() {
        return 'tpt_wo';
    }
    public static function primaryKey() {
        return ['id'];
    }
    public function getDepositDate(){
        $date=MissionLocal::find()->where(['scene_id'=>$this->id])->one();
        return is_object($date)?$date->definition->deposit_date:null;
    }
    public function getStripName(){
        $model=SplittedStripLocal::find()->where(['scene_id'=>$this->id])->one();
        return is_object($model)?$model->strips->miseo_name:null;
    }
    public function getRequestName(){
        $model=MiseoGroupLocal::find()->where(['scene_id'=>$this->id])->one(); 
        return is_object($model)?$model->name:null;
    }
}
{'fraction_non_alphanumeric': 0.1732702542874039, 'fraction_numerical': 0.010644589000591367, 'mean_word_length': 3.383419689119171, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 36, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2088614', 'n_tokens_mistral': 557, 'n_tokens_neox': 544, 'n_words': 93}