Class RouteMaker
Makes route definitions.
Methods summary
public static
array
|
|
public static
array
|
|
protected static
array
|
|
protected static
array
|
|
protected static
array
|
#
filter_actions( array $actions, array $options = [] )
Filters actions according to only/except options. |
protected static
array
|
Constants summary
string |
ACTION_INDEX
|
#
'index'
|
string |
ACTION_NEW
|
#
'new'
|
string |
ACTION_CREATE
|
#
'create'
|
string |
ACTION_SHOW
|
#
'show'
|
string |
ACTION_EDIT
|
#
'edit'
|
string |
ACTION_UPDATE
|
#
'update'
|
string |
ACTION_DELETE
|
#
'delete'
|
string |
OPTION_ID_NAME
|
#
'id_name'
|
string |
OPTION_ID_REGEX
|
#
'id_regex'
|
string |
OPTION_ONLY
|
#
'only'
|
string |
OPTION_EXCEPT
|
#
'except'
|
string |
OPTION_AS
|
#
'as'
|
string |
OPTION_ACTIONS
|
#
'actions'
|
string |
SEPARATOR
|
#
':'
|
string |
CONTROLLER_ACTION_SEPARATOR
|
#
'#'
|