Methods summary
public static
exRoute1 |RouteSystem
|
|
public static
|
|
public static
|
|
public static
|
|
public static
|
#
view( $name, $viewName )
|
public static
|
#
fixed( $arrayList = ['error404'=>'pages.common.error404', 'maintenance'=>'layouts.coming_soon.index'] )
|
public static
Illuminate\Routing\PendingResourceRegistration|string
|
#
resource( $name, string $controllerOrModelClassName = '', array $option = [] )
Use Model Controller To Fill Route Name Automatically, Your class must implement Controller1RouteInterface
modelName/, modelName/{id}, modelName/search/{name}, modelName/create, modelName/{id}/edit, e.t.c
Use Model Controller To Fill Route Name Automatically, Your class must implement Controller1RouteInterface modelName/, modelName/{id}, modelName/search/{name}, modelName/create, modelName/{id}/edit, e.t.c
Parameters
- $name
- $controllerOrModelClassName
- $option
Returns
Illuminate\Routing\PendingResourceRegistration|string
|
public static
|
#
directory( $viewPath_or_fullPath, boolean $recursive = false )
Convert all View in Directory to Route. Using the view name as route name
Convert all View in Directory to Route. Using the view name as route name
Parameters
- $viewPath_or_fullPath
- of view e.g pages.auth)
- $recursive
- (allow deep convert)
|
public static
Route|RouteSystem|string
|
#
getRoutes( )
Get Route Information
Returns
Route|RouteSystem|string
See
exUrl1::getCurrentRoute() for current route information
|
public static
false|integer
|
#
isExists( $route )
Is Certain Route name Exists
Is Certain Route name Exists
Parameters
Returns
false|integer
|