public static function getActivePersonSetingValue($type){
        $personId = Yii::app()->getModule('user')->user()->profile->person_id;
        $criteria = [
            'ppxs_pprs_id' => $personId,
            'ppxs_psty_id' => $type
            ];
        $model = PpxsPersonXSetting::model()->findByAttributes($criteria);
        if(!$model){
            return false;
        }
        
        return $model->ppxs_value;
    }