PHP Class SeoUrl

Inheritance: extends SeoAppModel
Mostrar archivo Open project: webtechnick/cakephp-seo-plugin

Public Properties

Property Type Description
$displayField
$name
$searchFields
$settings Configuration settings
$validate

Public Methods

Method Description
__construct ( $id = false, $table = null, $ds = null ) Load the settings
findRedirectByRequest ( $request ) : array Use levenshtein's distance to decide what "good" url is most closest to the incomming request
import ( $sitemap = null, $clear_all = true, $verbose = false ) Import a set of valid URLS from a sitemap

Private Methods

Method Description
getPathToSiteMap ( ) : string Get the file out of the source config

Method Details

__construct() public method

Load the settings
public __construct ( $id = false, $table = null, $ds = null )

findRedirectByRequest() public method

Use levenshtein's distance to decide what "good" url is most closest to the incomming request
public findRedirectByRequest ( $request ) : array
return array of result - redirect the actually redirect to point to - shortest how close this came

import() public method

Import a set of valid URLS from a sitemap
public import ( $sitemap = null, $clear_all = true, $verbose = false )

Property Details

$displayField public_oe property

public $displayField

$name public_oe property

public $name

$searchFields public_oe property

public $searchFields

$settings public_oe property

Configuration settings
public $settings

$validate public_oe property

public $validate