메소드 | 설명 | |
---|---|---|
delete ( integer $id ) | Delete a newsletter. | |
findAll ( ) : Illuminate\Database\Eloquent\Collection | Find all newsletter. | |
findAllPublishedWithPaginator ( integer $perPage = 10 ) : Illuminate\Contracts\Pagination\LengthAwarePaginator | Find all published newsletters. | |
findPublishedWithRelationById ( integer $id ) : Illuminate\Contracts\Pagination\LengthAwarePaginator | Find published newsletter by id. | |
getNewletterLinkById ( integer $id ) : Illuminate\Database\Eloquent\Collection | Get all link of given ids' newsletter | |
store ( string $title ) : Illuminate\Database\Eloquent\Collection | Store a new newsletter. |
public findAll ( ) : Illuminate\Database\Eloquent\Collection | ||
리턴 | Illuminate\Database\Eloquent\Collection |
public findAllPublishedWithPaginator ( integer $perPage = 10 ) : Illuminate\Contracts\Pagination\LengthAwarePaginator | ||
$perPage | integer | |
리턴 | Illuminate\Contracts\Pagination\LengthAwarePaginator |
public findPublishedWithRelationById ( integer $id ) : Illuminate\Contracts\Pagination\LengthAwarePaginator | ||
$id | integer | |
리턴 | Illuminate\Contracts\Pagination\LengthAwarePaginator |
public getNewletterLinkById ( integer $id ) : Illuminate\Database\Eloquent\Collection | ||
$id | integer | |
리턴 | Illuminate\Database\Eloquent\Collection |