PHP Class SeoUrl

Inheritance: extends SeoAppModel
Afficher le fichier Open project: webtechnick/cakephp-seo-plugin

Méthodes publiques

Свойство Type Description
$displayField
$name
$searchFields
$settings Configuration settings
$validate

Méthodes publiques

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

Méthode Description
getPathToSiteMap ( ) : string Get the file out of the source config

Method Details

__construct() public méthode

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

findRedirectByRequest() public méthode

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

import() public méthode

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