Documentation du code de SPIP et de ses plugins

SPIP

chercher_logo.php

Recherche de logo

Table of Contents

Functions

inc_chercher_logo_dist()  : array<string|int, mixed>
Cherche le logo d'un élément d'objet

Functions

inc_chercher_logo_dist()

Cherche le logo d'un élément d'objet

inc_chercher_logo_dist(int $id, string $_id_objet[, string $mode = 'on' ][, bool $compat_old_logos = false ]) : array<string|int, mixed>
Parameters
$id : int

Identifiant de l'objet

$_id_objet : string

Nom de la clé primaire de l'objet

$mode : string = 'on'

Mode de survol du logo désiré (on ou off)

$compat_old_logos : bool = false

(unused) @deprecated 5.0

Return values
array<string|int, mixed>
  • Liste (chemin complet du fichier, répertoire de logos, nom du logo, extension du logo, date de modification[, doc])
  • array vide aucun logo trouvé.

        
On this page

Search results