PHP Class App\Http\Controllers\TasksController

Inheritance: extends Controller, use trait Illuminate\Foundation\Auth\Access\AuthorizesRequests
Datei anzeigen Open project: Bottelet/Flarepoint-crm Class Usage Examples

Protected Properties

Property Type Description
$clients
$invoices
$request
$settings
$tasks
$users

Public Methods

Method Description
__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 )

Method Details

__construct() public method

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 method

public anyData ( )

create() public method

Show the form for creating a new resource.
public create ( ) : Response
return Response

index() public method

Display a listing of the resource.
public index ( ) : Response
return Response

invoice() public method

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

marked() public method

Remove the specified resource from storage.
public marked ( ) : Response
return Response

show() public method

Display the specified resource.
public show ( Illuminate\Http\Request $request, integer $id ) : Response
$request Illuminate\Http\Request
$id integer
return Response

store() public method

Store a newly created resource in storage.
public store ( StoreTaskRequest $request ) : Response
$request App\Http\Requests\Task\StoreTaskRequest
return Response

updateAssign() public method

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

updateStatus() public method

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 method

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

Property Details

$clients protected_oe property

protected $clients

$invoices protected_oe property

protected $invoices

$request protected_oe property

protected $request

$settings protected_oe property

protected $settings

$tasks protected_oe property

protected $tasks

$users protected_oe property

protected $users