PHP Класс App\Http\Controllers\TasksController

Наследование: extends Controller, use trait Illuminate\Foundation\Auth\Access\AuthorizesRequests
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$clients
$invoices
$request
$settings
$tasks
$users

Открытые методы

Метод Описание
__construct ( App\Repositories\Task\TaskRepositoryContract $tasks, App\Repositories\User\UserRepositoryContract $users, App\Repositories\Client\ClientRepositoryContract $clients, App\Repositories\Invoice\InvoiceRepositoryContract $invoices, App\Repositories\Setting\SettingRepositoryContract $settings )
anyData ( )
create ( ) : Response Show the form for creating a new resource.
index ( ) : Response Display a listing of the resource.
invoice ( $id, Illuminate\Http\Request $request )
marked ( ) : Response Remove the specified resource from storage.
show ( Illuminate\Http\Request $request, integer $id ) : Response Display the specified resource.
store ( StoreTaskRequest $request ) : Response Store a newly created resource in storage.
updateAssign ( $id, Illuminate\Http\Request $request )
updateStatus ( [Auth] $id, Illuminate\Http\Request $request ) Sees if the Settings from backend allows all to complete taks or only assigned user. if only assigned user:
updateTime ( $id, Illuminate\Http\Request $request )

Описание методов

__construct() публичный Метод

public __construct ( App\Repositories\Task\TaskRepositoryContract $tasks, App\Repositories\User\UserRepositoryContract $users, App\Repositories\Client\ClientRepositoryContract $clients, App\Repositories\Invoice\InvoiceRepositoryContract $invoices, App\Repositories\Setting\SettingRepositoryContract $settings )
$tasks App\Repositories\Task\TaskRepositoryContract
$users App\Repositories\User\UserRepositoryContract
$clients App\Repositories\Client\ClientRepositoryContract
$invoices App\Repositories\Invoice\InvoiceRepositoryContract
$settings App\Repositories\Setting\SettingRepositoryContract

anyData() публичный Метод

public anyData ( )

create() публичный Метод

Show the form for creating a new resource.
public create ( ) : Response
Результат Response

index() публичный Метод

Display a listing of the resource.
public index ( ) : Response
Результат Response

invoice() публичный Метод

public invoice ( $id, Illuminate\Http\Request $request )
$request Illuminate\Http\Request

marked() публичный Метод

Remove the specified resource from storage.
public marked ( ) : Response
Результат Response

show() публичный Метод

Display the specified resource.
public show ( Illuminate\Http\Request $request, integer $id ) : Response
$request Illuminate\Http\Request
$id integer
Результат Response

store() публичный Метод

Store a newly created resource in storage.
public store ( StoreTaskRequest $request ) : Response
$request App\Http\Requests\Task\StoreTaskRequest
Результат Response

updateAssign() публичный Метод

public updateAssign ( $id, Illuminate\Http\Request $request )
$request Illuminate\Http\Request

updateStatus() публичный Метод

Sees if the Settings from backend allows all to complete taks or only assigned user. if only assigned user:
public updateStatus ( [Auth] $id, Illuminate\Http\Request $request )
$id [Auth]
$request Illuminate\Http\Request

updateTime() публичный Метод

public updateTime ( $id, Illuminate\Http\Request $request )
$request Illuminate\Http\Request

Описание свойств

$clients защищенное свойство

protected $clients

$invoices защищенное свойство

protected $invoices

$request защищенное свойство

protected $request

$settings защищенное свойство

protected $settings

$tasks защищенное свойство

protected $tasks

$users защищенное свойство

protected $users