PHP Class SeoRedirect

Inheritance: extends SeoAppModel
ファイルを表示 Open project: webtechnick/cakephp-seo-plugin

Public Properties

Property Type Description
$belongsTo
$displayField
$name
$searchFields Filter fields
$validate

Public Methods

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

Method Details

beforeSave() public method

Check if SEO already exists, if so, unset it and set the ID then save.
public beforeSave ( $options = [] )

callbackTest() public method

This is a helper function for testing.
public callbackTest ( $request )

findRedirectListByPriority() public method

Named scope to find list of uri -> redirect by order and approved/active
public findRedirectListByPriority ( ) : list
return list of active and approved uri -> redirects ordered by priority

Property Details

$belongsTo public_oe property

public $belongsTo

$displayField public_oe property

public $displayField

$name public_oe property

public $name

$searchFields public_oe property

Filter fields
public $searchFields

$validate public_oe property

public $validate