Google extends Controller
Manages Google APIs.
Table of Contents
- $routes : array<string|int, mixed>
- Controller routes.
- __construct() : mixed
- Class constructor.
- get_routes() : array<string|int, mixed>
- Gets controller routes.
- grant_access() : mixed
- Grants Google OAuth access.
- revoke_access() : mixed
- Revokes Google OAuth access.
- boot() : mixed
- Bootstraps controller properties.
- set_property() : mixed
- Sets a property value.
Properties
$routes
Controller routes.
protected
array<string|int, mixed>
$routes
= []
Methods
__construct()
Class constructor.
public
__construct([array<string|int, mixed> $args = [] ]) : mixed
Parameters
- $args : array<string|int, mixed> = []
-
Controller arguments.
Return values
mixed —get_routes()
Gets controller routes.
public
final get_routes() : array<string|int, mixed>
Return values
array<string|int, mixed> —grant_access()
Grants Google OAuth access.
public
grant_access() : mixed
Return values
mixed —revoke_access()
Revokes Google OAuth access.
public
revoke_access() : mixed
Return values
mixed —boot()
Bootstraps controller properties.
protected
boot() : mixed
Return values
mixed —set_property()
Sets a property value.
protected
final set_property(string $name, mixed $value[, string $prefix = '' ]) : mixed
Parameters
- $name : string
-
Property name.
- $value : mixed
-
Property value.
- $prefix : string = ''
-
Method prefix.