PHP Class App\Http\Controllers\AdminController

Inheritance: extends Controller
Afficher le fichier Open project: forehalo/materialize-blog Class Usage Examples

Protected Properties

Свойство Type Description
$admin App\Repositories\AdminRepository

Méthodes publiques

Méthode Description
__construct ( AdminRepository $admin ) AdminController constructor.
auth ( AuthRequest $request, Illuminate\Contracts\Auth\Guard $auth )
friend ( Illuminate\Http\Request $request ) : Illuminate\Http\JsonResponse | Illuminate\Http\RedirectResponse Update friend links.
index ( ) : Illuminate\Contracts\View\Factory | Illuminate\View\View Dashboard index.
link ( LinkRequest $request ) : Illuminate\Http\RedirectResponse Update link settings.
profile ( ProfileRequest $request ) Update profile.
setting ( ) : Illuminate\Contracts\View\Factory | Illuminate\View\View Setting page.
view ( ViewRequest $request ) : Illuminate\Http\RedirectResponse Update view settings.

Method Details

__construct() public méthode

AdminController constructor.
public __construct ( AdminRepository $admin )
$admin App\Repositories\AdminRepository

auth() public méthode

public auth ( AuthRequest $request, Illuminate\Contracts\Auth\Guard $auth )
$request App\Http\Requests\SettingRequests\AuthRequest
$auth Illuminate\Contracts\Auth\Guard

friend() public méthode

Update friend links.
public friend ( Illuminate\Http\Request $request ) : Illuminate\Http\JsonResponse | Illuminate\Http\RedirectResponse
$request Illuminate\Http\Request
Résultat Illuminate\Http\JsonResponse | Illuminate\Http\RedirectResponse

index() public méthode

Dashboard index.
public index ( ) : Illuminate\Contracts\View\Factory | Illuminate\View\View
Résultat Illuminate\Contracts\View\Factory | Illuminate\View\View

profile() public méthode

Update profile.
public profile ( ProfileRequest $request )
$request App\Http\Requests\SettingRequests\ProfileRequest

setting() public méthode

Setting page.
public setting ( ) : Illuminate\Contracts\View\Factory | Illuminate\View\View
Résultat Illuminate\Contracts\View\Factory | Illuminate\View\View

view() public méthode

Update view settings.
public view ( ViewRequest $request ) : Illuminate\Http\RedirectResponse
$request App\Http\Requests\SettingRequests\ViewRequest
Résultat Illuminate\Http\RedirectResponse

Property Details

$admin protected_oe property

protected AdminRepository,App\Repositories $admin
Résultat App\Repositories\AdminRepository