Fichier ecrire/inc/lien.php

Source

Proposer une amélioration

Liste des constantes

Valeur

  • ',^\s(?:' . _PROTOCOLES_STD . '):?/?/?\s$,iS'

Package

Valeur

  • '/^(\W)(\W)(\w\d+([?#].)?)$/'

Package

Valeur

  • "/[([^][]?([[]\w[]][^][]))->(>?)([^]]*)]/msS"

Package

Valeur

  • '(<([a-z_-]{3,})' . '\s([0-9])\s' . '([|](?:<[^<>]>|[^>])?)?' . '\s/?' . '>)' . '\s*(<\/a>)?'

Package

Valeur

  • '@^' . _RACCOURCI_MODELE . '@isS'

Package

Valeur

  • '/^\s(\w?)\s(\d+)(\?(.?))?(#([^\s]))?\s$/S'

Package

Liste des fonctions

void calculer_url( $ref , $texte = '' , $pour = 'url' , $connect = '' , $echappe_typo = true )

Paramètres

  1. $ref
  2. $texte = ''
  3. $pour = 'url'
  4. $connect = ''
  5. $echappe_typo = true

Package

Proposer une amélioration
void expanser_liens( $t , $connect = '' , $env = array() )

Paramètres

  1. $t
  2. $connect = ''
  3. $env = array()

Utilisé par

Package

Proposer une amélioration
void glossaire_std( $terme )

Paramètres

  1. $terme

Package

Proposer une amélioration
void inc_lien_dist( $lien , $texte = '' , $class = '' , $title = '' , $hlang = '' , $rel = '' , $connect = '' , $env = array() )

Paramètres

  1. $lien
  2. $texte = ''
  3. $class = ''
  4. $title = ''
  5. $hlang = ''
  6. $rel = ''
  7. $connect = ''
  8. $env = array()

Package

Proposer une amélioration
void liens_implicite_glose_dist( $texte , $id , $type , $args , $ancre , $connect = '' )

Paramètres

  1. $texte
  2. $id
  3. $type
  4. $args
  5. $ancre
  6. $connect = ''

Package

Proposer une amélioration
void nettoyer_raccourcis_typo( $texte , $connect = '' )

Paramètres

  1. $texte
  2. $connect = ''

Package

Proposer une amélioration
void traiter_lien_explicite( $ref , $texte = '' , $pour = 'url' , $connect = '' , $echappe_typo = true )

Paramètres

  1. $ref
  2. $texte = ''
  3. $pour = 'url'
  4. $connect = ''
  5. $echappe_typo = true

Package

Proposer une amélioration
void traiter_lien_implicite( $ref , $texte = '' , $pour = 'url' , $connect = '' )

Paramètres

  1. $ref
  2. $texte = ''
  3. $pour = 'url'
  4. $connect = ''

Package

Proposer une amélioration
void traiter_modeles( $texte , $doublons = false , $echap = '' , $connect = '' , $liens = null , $env = array() )

Paramètres

  1. $texte
  2. $doublons = false
  3. $echap = ''
  4. $connect = ''
  5. $liens = null
  6. $env = array()

Utilisé par

Package

Proposer une amélioration
void traiter_raccourci_ancre( $letexte )

Paramètres

  1. $letexte

Package

Proposer une amélioration
void traiter_raccourci_glossaire( $texte )

Paramètres

  1. $texte

Package

Proposer une amélioration
void traiter_raccourci_lien_atts( $texte )

Paramètres

  1. $texte

Package

Proposer une amélioration
array traiter_raccourci_titre( integer $id , string $type , string | null $connect = null )

Paramètres

  1. integer $id

    Identifiant de l'objet

  2. string $type

    Type d'objet

  3. string | null $connect = null

    Connecteur SQL utilisé

Retour

  • array

    {

Package

Var

  • Titre si présent, sinon ''
  • Langue si présente, sinon '' }
Proposer une amélioration
void typer_raccourci( $lien )

Paramètres

  1. $lien

Package

Proposer une amélioration
string virtuel_redirige( string $virtuel , boolean $url = false )

Paramètres

  1. string $virtuel
  2. boolean $url = false

Retour

  • string

Package

Note

  • Pas d'action dans le noyau SPIP directement. Se réferer inc/lien du plugin Textwheel.
Proposer une amélioration

Liste des erreurs

GravitéLigneDescription
Erreur 0
  • No summary was found for this file
Erreur 25
  • Argument $connect is missing from the Docblock of inc_lien_dist
  • Argument $env is missing from the Docblock of inc_lien_dist
  • No summary for function \inc_lien_dist()
  • Argument $rel is missing from the Docblock of inc_lien_dist
  • Argument $hlang is missing from the Docblock of inc_lien_dist
  • Argument $lien is missing from the Docblock of inc_lien_dist
  • Argument $texte is missing from the Docblock of inc_lien_dist
  • Argument $class is missing from the Docblock of inc_lien_dist
  • Argument $title is missing from the Docblock of inc_lien_dist
Erreur 45
  • Argument $env is missing from the Docblock of expanser_liens
  • No summary for function \expanser_liens()
  • Argument $connect is missing from the Docblock of expanser_liens
  • Argument $t is missing from the Docblock of expanser_liens
Erreur 59
  • Argument $connect is missing from the Docblock of nettoyer_raccourcis_typo
  • No summary for function \nettoyer_raccourcis_typo()
  • Argument $texte is missing from the Docblock of nettoyer_raccourcis_typo
Erreur 66
  • No summary for function \traiter_raccourci_lien_atts()
  • Argument $texte is missing from the Docblock of traiter_raccourci_lien_atts
Erreur 99
  • Argument $echappe_typo is missing from the Docblock of calculer_url
  • No summary for function \calculer_url()
  • Argument $connect is missing from the Docblock of calculer_url
  • Argument $ref is missing from the Docblock of calculer_url
  • Argument $pour is missing from the Docblock of calculer_url
  • Argument $texte is missing from the Docblock of calculer_url
Erreur 108
  • Argument $echappe_typo is missing from the Docblock of traiter_lien_explicite
  • No summary for function \traiter_lien_explicite()
  • Argument $connect is missing from the Docblock of traiter_lien_explicite
  • Argument $pour is missing from the Docblock of traiter_lien_explicite
  • Argument $ref is missing from the Docblock of traiter_lien_explicite
  • Argument $texte is missing from the Docblock of traiter_lien_explicite
Erreur 149
  • Argument $connect is missing from the Docblock of liens_implicite_glose_dist
  • No summary for function \liens_implicite_glose_dist()
  • Argument $ancre is missing from the Docblock of liens_implicite_glose_dist
  • Argument $type is missing from the Docblock of liens_implicite_glose_dist
  • Argument $texte is missing from the Docblock of liens_implicite_glose_dist
  • Argument $args is missing from the Docblock of liens_implicite_glose_dist
  • Argument $id is missing from the Docblock of liens_implicite_glose_dist
Erreur 160
  • Argument $connect is missing from the Docblock of traiter_lien_implicite
  • Argument $pour is missing from the Docblock of traiter_lien_implicite
  • No summary for function \traiter_lien_implicite()
  • Argument $ref is missing from the Docblock of traiter_lien_implicite
  • Argument $texte is missing from the Docblock of traiter_lien_implicite
Erreur 215
  • No summary for function \typer_raccourci()
  • Argument $lien is missing from the Docblock of typer_raccourci
Erreur 305
  • Argument $env is missing from the Docblock of traiter_modeles
  • No summary for function \traiter_modeles()
  • Argument $connect is missing from the Docblock of traiter_modeles
  • Argument $liens is missing from the Docblock of traiter_modeles
  • Argument $texte is missing from the Docblock of traiter_modeles
  • Argument $doublons is missing from the Docblock of traiter_modeles
  • Argument $echap is missing from the Docblock of traiter_modeles
Erreur 410
  • No summary for function \traiter_raccourci_ancre()
  • Argument $letexte is missing from the Docblock of traiter_raccourci_ancre
Erreur 415
  • No summary for function \traiter_raccourci_glossaire()
  • Argument $texte is missing from the Docblock of traiter_raccourci_glossaire
Erreur 420
  • No summary for function \glossaire_std()
  • Argument $terme is missing from the Docblock of glossaire_std