Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public function downloadPDF()
- {
- $url=Input::get('url');
- $url=explode('/', $url);
- $cv_id = substr($url[4], 0, -13);
- $name=Auth::user()->username;
- $cv_info=CV::where('id','=',$cv_id)->first();
- $html = view('ui.userinfo.viewCV',$cv_info)->render();
- return $this->pdf
- ->load($html)
- ->show();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement