PHP Class app\models\Route

Inheritance: extends yii\db\ActiveRecord
Show file Open project: sroutier/laravel-5.1-enterprise-starter-kit Class Usage Examples

Protected Properties

Property Type Description
$fillable array

Public Methods

Method Description
deleteLaravelRoutes ( )
loadLaravelRoutes ( $routeNameRegEx ) : integer Load the Laravel routes into the application routes for permission assignment.
menus ( )
permission ( )
scopeDisabled ( $query )
scopeEnabled ( $query )
scopeOfActionName ( $query, $actionName )
scopeOfMethod ( $query, $method )
scopeOfPath ( $query, $path )

Method Details

deleteLaravelRoutes() public static method

public static deleteLaravelRoutes ( )

loadLaravelRoutes() public static method

Load the Laravel routes into the application routes for permission assignment.
public static loadLaravelRoutes ( $routeNameRegEx ) : integer
$routeNameRegEx
return integer The number of Laravel routes loaded.

menus() public method

public menus ( )

permission() public method

public permission ( )

scopeDisabled() public method

public scopeDisabled ( $query )

scopeEnabled() public method

public scopeEnabled ( $query )

scopeOfActionName() public method

public scopeOfActionName ( $query, $actionName )

scopeOfMethod() public method

public scopeOfMethod ( $query, $method )

scopeOfPath() public method

public scopeOfPath ( $query, $path )

Property Details

$fillable protected property

protected array $fillable
return array