PHP 클래스 App\Http\Controllers\TaskController

상속: extends Controller
파일 보기 프로젝트 열기: hillelcoren/invoice-ninja 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$entityType
$invoiceRepo App\Ninja\Repositories\InvoiceRepository
$taskRepo App\Ninja\Repositories\TaskRepository
$taskService App\services\TaskService

공개 메소드들

메소드 설명
__construct ( TaskRepository $taskRepo, InvoiceRepository $invoiceRepo, TaskService $taskService ) TaskController constructor.
bulk ( ) : Illuminate\Http\RedirectResponse
create ( App\Http\Requests\TaskRequest $request ) : Illuminate\Contracts\View\View Show the form for creating a new resource.
edit ( App\Http\Requests\TaskRequest $request ) : Illuminate\Contracts\View\View Show the form for editing the specified resource.
getDatatable ( null $clientPublicId = null ) : Illuminate\Http\JsonResponse
index ( ) : Illuminate\Contracts\View\View
show ( $publicId ) : Illuminate\Http\RedirectResponse
store ( App\Http\Requests\CreateTaskRequest $request ) : Illuminate\Http\RedirectResponse Store a newly created resource in storage.
update ( App\Http\Requests\UpdateTaskRequest $request ) : Illuminate\Http\RedirectResponse Update the specified resource in storage.

비공개 메소드들

메소드 설명
checkTimezone ( )
getViewModel ( ) : array
save ( null $publicId = null ) : Illuminate\Http\RedirectResponse

메소드 상세

__construct() 공개 메소드

TaskController constructor.
public __construct ( TaskRepository $taskRepo, InvoiceRepository $invoiceRepo, TaskService $taskService )
$taskRepo App\Ninja\Repositories\TaskRepository
$invoiceRepo App\Ninja\Repositories\InvoiceRepository
$taskService App\services\TaskService

bulk() 공개 메소드

public bulk ( ) : Illuminate\Http\RedirectResponse
리턴 Illuminate\Http\RedirectResponse

create() 공개 메소드

Show the form for creating a new resource.
public create ( App\Http\Requests\TaskRequest $request ) : Illuminate\Contracts\View\View
$request App\Http\Requests\TaskRequest
리턴 Illuminate\Contracts\View\View

edit() 공개 메소드

Show the form for editing the specified resource.
public edit ( App\Http\Requests\TaskRequest $request ) : Illuminate\Contracts\View\View
$request App\Http\Requests\TaskRequest
리턴 Illuminate\Contracts\View\View

getDatatable() 공개 메소드

public getDatatable ( null $clientPublicId = null ) : Illuminate\Http\JsonResponse
$clientPublicId null
리턴 Illuminate\Http\JsonResponse

index() 공개 메소드

public index ( ) : Illuminate\Contracts\View\View
리턴 Illuminate\Contracts\View\View

show() 공개 메소드

public show ( $publicId ) : Illuminate\Http\RedirectResponse
$publicId
리턴 Illuminate\Http\RedirectResponse

store() 공개 메소드

Store a newly created resource in storage.
public store ( App\Http\Requests\CreateTaskRequest $request ) : Illuminate\Http\RedirectResponse
$request App\Http\Requests\CreateTaskRequest
리턴 Illuminate\Http\RedirectResponse

update() 공개 메소드

Update the specified resource in storage.
public update ( App\Http\Requests\UpdateTaskRequest $request ) : Illuminate\Http\RedirectResponse
$request App\Http\Requests\UpdateTaskRequest
리턴 Illuminate\Http\RedirectResponse

프로퍼티 상세

$entityType 보호되어 있는 프로퍼티

protected $entityType

$invoiceRepo 보호되어 있는 프로퍼티

protected InvoiceRepository,App\Ninja\Repositories $invoiceRepo
리턴 App\Ninja\Repositories\InvoiceRepository

$taskRepo 보호되어 있는 프로퍼티

protected TaskRepository,App\Ninja\Repositories $taskRepo
리턴 App\Ninja\Repositories\TaskRepository

$taskService 보호되어 있는 프로퍼티

protected TaskService,App\Services $taskService
리턴 App\services\TaskService