PHP Class app\models\Route

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

Protected Properties

Свойство Type Description
$fillable array

Méthodes publiques

Méthode 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 méthode

public static deleteLaravelRoutes ( )

loadLaravelRoutes() public static méthode

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

menus() public méthode

public menus ( )

permission() public méthode

public permission ( )

scopeDisabled() public méthode

public scopeDisabled ( $query )

scopeEnabled() public méthode

public scopeEnabled ( $query )

scopeOfActionName() public méthode

public scopeOfActionName ( $query, $actionName )

scopeOfMethod() public méthode

public scopeOfMethod ( $query, $method )

scopeOfPath() public méthode

public scopeOfPath ( $query, $path )

Property Details

$fillable protected_oe property

protected array $fillable
Résultat array