255] ]; } /** * @inheritdoc */ public function attributeLabels() { return [ 'id' => 'ID', 'table_name' => 'Model Name', 'table_id' => 'Model ID', 'value' => 'Value', 'field_name' => 'Field Name', 'language' => 'Language', ]; } public static function getData($id, $model, $type){ return self::find()->where(['table_id'=>$id, 'table_name'=>$model, 'field_type'=>$type])->all(); } }