Home
Add Document
Sign In
Register
laptrinhlaravel_bai17.pdf
Home
laptrinhlaravel_bai17.pdf
Full description...
Author:
Ho Khoa
35 downloads
235 Views
114KB Size
Report
DOWNLOAD .PDF
Recommend Documents
No documents
BÀI 17 : RESTful Controller I Tạo RESTful Controller
php artisan make:controller KhoaPhamController
II Đăng
ký RESTful Controller Controller trong Route
Route::resource('KhoaPham','KhoaPhamController');
Route::resource('photo', 'KhoaPhamController', ['only' => ['index', 'show']]);
Route::resource('photo', 'KhoaPhamController', ['except' => ['create', 'store', 'update', 'destroy']]);
II Method DELETE
Xóa
Form::open(array('route'=>array('khoapham.destroy',$kpt->id),'method'=>'DELETE'))
Xóa
Form::close()
II Method PUT / PATCH
……
Form::open(array('route'=>array('khoapham.update',$k['id']),'method'=>'PUT')) ……
Form::close()
×
Report "laptrinhlaravel_bai17.pdf"
Your name
Email
Reason
-Select Reason-
Pornographic
Defamatory
Illegal/Unlawful
Spam
Other Terms Of Service Violation
File a copyright complaint
Description
×
Sign In
Email
Password
Remember me
Forgot password?
Sign In
Our partners will collect data and use cookies for ad personalization and measurement.
Learn how we and our ad partner Google, collect and use data
.
Agree & close