Overview

Packages

  • Core
    • Authentication
    • Backend
    • Cache
    • CEC
    • Chain
    • ContentType
    • Database
    • Datatype
    • Debug
    • Exception
    • Frontend
      • Search
      • URI
      • Util
    • GenericDB
      • Model
    • GUI
      • HTML
    • I18N
    • LayoutHandler
    • Log
    • Security
    • Session
    • Util
    • Validation
    • Versioning
    • XML
  • Module
    • ContentSitemapHtml
    • ContentSitemapXml
    • ContentUserForum
    • NavigationTop
  • mpAutoloaderClassMap
  • None
  • Plugin
    • ContentAllocation
    • CronjobOverview
    • FormAssistant
    • FrontendLogic
    • FrontendUsers
    • Linkchecker
    • ModRewrite
    • Newsletter
    • Repository
      • FrontendNavigation
      • KeywordDensity
    • SearchSolr
    • SmartyWrapper
    • UrlShortener
    • UserForum
    • Workflow
  • PluginManager
  • Setup
    • Form
    • GUI
    • Helper
      • Environment
      • Filesystem
      • MySQL
      • PHP
    • UpgradeJob

Classes

  • LinkcheckerRepair

Functions

  • cCatPerm
  • checkLinks
  • getGroupIDs
  • linksort
  • searchFrontContentLinks
  • searchLinks
  • url_is_image
  • url_is_uri
  • Overview
  • Package
  • Class
  • Tree
  • Deprecated
  • Todo

Class LinkcheckerRepair

Repair common mistakes in links

Package: Plugin\Linkchecker
Copyright: four for business AG <www.4fb.de>
License: http://www.contenido.org/license/LIZENZ.txt
Author: frederic.schneider
Located at plugins/linkchecker/classes/class.linkchecker.repair.php
Methods summary
public string|boolean
# checkLink( mixed $link )

Checks link and generate a repaired version

Checks link and generate a repaired version

Returns

string|boolean
private boolean
# pingRepairedLink( string $repaired_link )

Test repaired link

Test repaired link

Parameters

$repaired_link
string
$repaired_link

Returns

boolean
true or false
Properties summary
private array $errorTypes array( 'htp://', 'htttp://', 'htps://', 'htttps://', 'ww', 'www', 'wwww' )
#

Typical link misstakes

Typical link misstakes

private array $correctTypes array( 'http://', 'http://', 'https://', 'https://', 'http://www', 'http://www', 'http://www' )
#

Fixed link misstakes Keys are equivalent to $errorTypes

Fixed link misstakes Keys are equivalent to $errorTypes

CMS CONTENIDO 4.9.5 API documentation generated by ApiGen 2.8.0