Property | Type | Description | |
---|---|---|---|
$belongsTo | |||
$displayField | |||
$name | |||
$searchFields | Filter fields | ||
$validate |
Method | Description | |
---|---|---|
beforeSave ( $options = [] ) | Check if SEO already exists, if so, unset it and set the ID then save. | |
callbackTest ( $request ) | This is a helper function for testing. | |
findRedirectListByPriority ( ) : list | Named scope to find list of uri -> redirect by order and approved/active |
public beforeSave ( $options = [] ) |
public callbackTest ( $request ) |
public findRedirectListByPriority ( ) : list | ||
return | list | of active and approved uri -> redirects ordered by priority |