Overview

Packages

  • CONTENIDO
  • Core
    • Authentication
    • Backend
    • Cache
    • CEC
    • Chain
    • ContentType
    • Database
    • Debug
    • Exception
    • Frontend
      • Search
      • URI
      • Util
    • GenericDB
      • Model
    • GUI
      • HTML
    • I18N
    • LayoutHandler
    • Log
    • Security
    • Session
    • Util
    • Validation
    • Versioning
    • XML
  • Module
    • ContentRssCreator
    • ContentSitemapHtml
    • ContentSitemapXml
    • ContentUserForum
    • NavigationTop
    • ScriptCookieDirective
  • 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
  • Smarty
    • Cacher
    • Compiler
    • Config
    • Debug
    • PluginsBlock
    • PluginsFilter
    • PluginsFunction
    • PluginsInternal
    • PluginsModifier
    • PluginsModifierCompiler
    • PluginsShared
    • Security
    • Template
    • TemplateResources
  • Swift
    • ByteStream
    • CharacterStream
    • Encoder
    • Events
    • KeyCache
    • Mailer
    • Mime
    • Plugins
    • Transport

Classes

  • LinkcheckerRepair

Functions

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

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( $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

Returns

boolean
true or false
Properties summary
private array $errorTypes

Typical link misstakes

Typical link misstakes

# array( 'htp://', 'htttp://', 'htps://', 'htttps://', 'ww', 'www', 'wwww' )
private array $correctTypes

Fixed link misstakes Keys are equivalent to $errorTypes

Fixed link misstakes Keys are equivalent to $errorTypes

# array( 'http://', 'http://', 'https://', 'https://', 'http://www', 'http://www', 'http://www' )
CMS CONTENIDO 4.9.7 API documentation generated by ApiGen