protected function changeRelationModel()
    {
        $module = getModule(get_called_class());
        $module = explode('-',$module);
        $module = ucfirst_tr($module[1]);
        $this->relations['thumbnails']['relation_model'] = "\\App\\{$module}Thumbnail";
        $this->relations['extras']['relation_model'] = "\\App\\{$module}Extra";
    }
protected function changeRelationModel()
    {
        $module = getModule(get_called_class());
        $module = explode('-',$module);
        $module = ucfirst_tr($module[1]);
        $this->relations['thumbnails']['relation_model'] = "\\App\\{$module}Thumbnail";
        $this->relations['extras']['relation_model'] = "\\App\\{$module}Extra";
    }
protected function changeRelationModel ( ) { $ module = getModule ( get_called_class ( ) ) ; $ module = explode ( '-' , $ module ) ; $ module = ucfirst_tr ( $ module [ 1 ] ) ; $ this -> relations [ 'thumbnails' ] [ 'relation_model' ] = "\\App\\{$module}Thumbnail" ; $ this -> relations [ 'extras' ] [ 'relation_model' ] = "\\App\\{$module}Extra" ; }
change relation model
change relation model